lexer grammar t048rewrite2; options { language=Python; } ID : 'a'..'z'+; INT : '0'..'9'+; SEMI : ';'; PLUS : '+'; MUL : '*'; ASSIGN : '='; WS : ' '+;