antlr/tool/playground/T.g

7 lines
91 B
Plaintext
Raw Normal View History

grammar T;
2012-03-17 05:11:21 +08:00
s : f f EOF;
f : | x;
x : 'a' 'b';
2012-03-15 04:20:24 +08:00
INT : '0'..'9'+;
WS : (' '|'\n') {skip();} ;