[antlr-interest] Article against TreeWalkers

Micheal J open.zone at virgin.net
Fri Mar 10 16:54:49 PST 2006


> I say:
> You don't need lots of classes. You don't need a switch 
> statement either. And frankly it's just not expensive to make 
> first class objects out of TokenTypes. Instead of trying to 
> describe the grammar using 3 levels of metadata, it can be 
> described in relationships. Much prettier model. 

Jeff,

A little too abstract for me so, coupla questions:

1. What are the 3 levels of metadata you mention is used to describe the
grammar?

2. Can you point to some code that illustrates your thinking (i.e.
describing the grammar in relationships)?.

Cheers,

Micheal



More information about the antlr-interest mailing list