Nan Zhang wrote: > say, tokens.txt, so that I could take a look at the token stream. > Thanks. One way would be to use -traceLexer when invoking ANTLR. Another would be to make your own TokenStreamFilter which does that. Monty