nitcc: introduce nitcc
[nit.git] / contrib / nitcc / t / nit_expr.sablecc
1 Grammar nit_expr;
2 Parser
3 e =
4         e '[' e ']' |
5         '[' e ']' |
6         '[' e '..' e '[' |
7         '[' e '..' e ']' |
8         'id' e |
9         'id';
10         
11