[antlr-interest] Has anyone done any work on ParseView since ParseView v1.2?

Bogdan Mitu bogdan_mt at yahoo.com
Thu Jun 20 08:10:45 PDT 2002


--- micheal_jor <open.zone at virgin.net> wrote:
> Hi All,
> 
> I am having a *very* hard time debugging my ANTLR grammar. In order 
> to do my PREPROCESSOR things, I created a sub-class of the Lexer 
> defined in the *.g gile and did overrode nextToken(). So, I use the 
> Lexer subclass with the Parser not the ANTLR generated one. Oh, I 
> also use a TokenStreamHiddenFilter in between them.

Would it help you to feed the lexer with some text and visualize the list of
tokens produced, and to feed the parser with a list of tokens and see what
AST is generated by the parser? There is a tool on the Yahoo ANTLR group
that you can use for this purpose.

Bogdan

> Problem is, ParseView won't work unless I am using both a ANTLR-
> generated Lexer and Parser. Now, Scott mentions that this won't work 
> unil he develops some adapters using the Debugger API. Has any one 
> developed any such adapters?
> 
> Is the Debugger API documented anywhere?. Can anybody offer any 
> guidance so that I can write this adapters myself?
> 
> Any help appreciated.
> 
> Micheal
> 
> 
> 
>  
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list