[antlr-interest] anyone have a antlrv3 java grammar that creates AST?

Terence Parr parrt at cs.usfca.edu
Thu Jul 12 08:43:30 PDT 2007


On Jul 12, 2007, at 6:59 AM, Andy Tripp wrote:

> Hi,
>
> Has anyone tried to build a ANTLRv3 java grammar that creates an  
> AST yet?
>
> I'm in the middle of creating one now, and I guess I should have  
> asked earlier :(

I'm am too. It's hard. ;)  Well, it's hard to build one that builds  
the exact right tree and does the actions I need for ANTLR itself.   
That is why I madethe detour to make the TreeWizard.  BTW, have you  
glanced at the wizard?  We're getting closure to making somethingyou  
like! :)

Ter



More information about the antlr-interest mailing list