[antlr-interest] anyone have a antlrv3 java grammar thatcreates AST?
Micheal J
open.zone at virgin.net
Thu Jul 12 09:34:13 PDT 2007
Hi,
> > 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.
I got the impression Andy wanted an ANTLR v3 grammar for a Java recognizer
that also builds an AST. He didn't specify a target language so I guess any
is OK.
You seem to be talking about an ANTLR v3 grammar for an ANTLR v3 recognizer
with Java target as output.
> 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