[antlr-interest] Re: treewalker as interpreter

marc_schellens m_schellens at hotmail.com
Mon Feb 25 00:01:35 PST 2002


> I would have a instruction "cracker" routine that basically figured
out 
> what tree fits with the instruction.  Then I'd have just a list of
these 
> suckers in the tree grammar (i.e., lots and lots of start rules). 
Then 
> I'd call them individually to parse/handle that kind of element.
> 
> Ter

Thanks,
but how to handle GOTO statements then?
I.e. how to tell the tree walker to continue with a
specific CommonAST subclass?
marc


 

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



More information about the antlr-interest mailing list