[antlr-interest] A postmortem of my use of antler

Terence Parr parrt at cs.usfca.edu
Tue Mar 11 12:32:20 PDT 2008


On Mar 11, 2008, at 11:35 AM, Andy Tripp wrote:

> Terence Parr wrote:
>> how could ANTLR *possibly* know the structure of the AST to build  
>> except for, perhaps, expressions? parse tree, yes. AST, no.
> How about have the AST just match the parse tree by default?

Because then you add one ^ or -> rewrite and what should it do?  Give  
you a hybrid?  That just wouldn't be useful.  If you want a parse tree  
use it.

Ter


More information about the antlr-interest mailing list