OILS
/
pgen2
/
testdata
/ minimal.grammar
View on Github
|
oilshell.org
5 lines, 3 significant
1
eval_input: expr NEWLINE* ENDMARKER
2
3
expr: ['if'] atom (('+'|'-') atom)*
4
5
atom: NAME | NUMBER