[antlr-interest] ANTLRWorks - lexer run only?

Terence Parr parrt at cs.usfca.edu
Wed Aug 15 08:16:31 PDT 2007


On Aug 15, 2007, at 8:09 AM, Alex Shneyderman wrote:

> I find it sometimes useful to see what is the sequnce of tokens that
> gets produced by the lexer with no parser involvment. I wonder if
> there is a way to do this in ANTLRWorks?

use a single rule in parser:

start : .+ ;

Ter



More information about the antlr-interest mailing list