[antlr-interest] ANTLRWorks and separate lexer/parser grammars - pleading?

Terence Parr parrt at cs.usfca.edu
Fri Jan 18 14:14:14 PST 2008


On Jan 18, 2008, at 1:53 PM, Mark Volkmann wrote:

> The big lesson learned in this for me is that
> if my parser grammar builds an AST
> and the lexer rules are combined with it in a single file
> then I can debug the AST generation in ANTLRWorks
> without writing any Java code
>
> but ...
>
> if my parser and lexer rules are in separate files
> then I have to write Java code and run it in order to use the
> ANTLRWorks debugger.
>
> Correct?

or copy the __Test__.java file from your AW dir and use that :)

Ter


More information about the antlr-interest mailing list