antlr/tool/playground/T.g

7 lines
91 B
Plaintext

grammar T;
s : f f EOF;
f : | x;
x : 'a' 'b';
INT : '0'..'9'+;
WS : (' '|'\n') {skip();} ;