1 2grammar t058rewriteAST57; 3options {language=JavaScript;output=AST;} 4a : ID a -> a | INT ; 5ID : 'a'..'z'+ ; 6INT: '0'..'9'+ ; 7WS : (' '|'\n') {$channel=HIDDEN;} ;