[antlr-interest] Debugging Tree Parser grammar using ANTLRWorks

Terence Parr parrt at cs.usfca.edu
Fri Jun 15 23:11:31 PDT 2007


On Jun 16, 2007, at 9:51 AM, Gavin Lambert wrote:

> At 23:13 15/06/2007, Chaudhari, Pranita, OPEE14 wrote:
>> I am new to ANTLRWorks need help !
>>
>> When I am trying to debug Tree Parser Grammar, window pops up  
>> saying "ANTLRWorks does not support debugging tree Parser  
>> Grammar". Does AntlrWorks 1.0.2 supports it?
>
> While on the subject of debugging wishlists, it'd be nice if AW  
> could debug through lexers as well.  That'd save having to write a  
> throwaway program to step through the generated lexer code :)

I think we could add debug event triggers to the lexers w/o much  
effort.  ANTLRWorks would just...work.  :)  Well, assuming we treated  
chars as tokens.

Ter


More information about the antlr-interest mailing list