Compile the generated files. Make sure the ANTLR jar file is on classpath. To use: ... input = new ANTLRInputStream(System.in); TLexer lexer = new TLexer(input) ...
not as boring as writing a lexer, but not exactly a weekend in the Bahamas ... Input from lexer: E - E. yet to read. We have a shift-reduce conflict. ...