Files

6 lines
111 B
ANTLR

grammar week3;
start : 'minimal' ID ;
ID : [a-zA-Z]+ ;
WS : [ \t\r\n]+ -> skip ;
bye : ('bye'| 'goodbye') ID ;