[antlr-interest] ANTLRWorks and separate lexer/parser grammars - pleading?
r.mark.volkmann at gmail.com
Fri Jan 18 14:26:38 PST 2008
On Jan 18, 2008 4:14 PM, Terence Parr <parrt at cs.usfca.edu> wrote:
> 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 :)
What creates that source file ... or is that something that is
generated from my grammar by ANTLRWorks?
BTW, I added a wiki page titled "When do I need to use remote
debugging?" at http://www.antlr.org/wiki/pages/viewpage.action?pageId=5832732.
Don't let me say anything that is wrong. ;-)
R. Mark Volkmann
Object Computing, Inc.
More information about the antlr-interest