OILS / pgen2 / testdata / minimal.grammar View on Github | oilshell.org

5 lines, 3 significant
1eval_input: expr NEWLINE* ENDMARKER
2
3expr: ['if'] atom (('+'|'-') atom)*
4
5atom: NAME | NUMBER