antlr/tool/playground/T.g

5 lines
67 B
Plaintext

grammar T;
s : A+ ;
A : {true}? 'a' ;
WS : (' '|'\n')+ {skip();} ;