[antlr-interest] (V3) Heterogeneous ASTs

Emond Papegaaij e.papegaaij at student.utwente.nl
Thu Aug 10 01:08:41 PDT 2006


On Wednesday 09 August 2006 19:33, Terence Parr wrote:
> On Aug 8, 2006, at 4:29 PM, Sean Walton wrote:
> > I noticed that 2.7 supports heterogeneous trees.  The syntax for it
> > is not supported in 3.0 (yet?), but can I do the same thing by
> > doing a {this.setTreeAdaptor(specialAdaptor);} ?
>
> Yep :) simply override the create method to make it build different
> type nodes based upon the tokenType coming in.
>
>    Later, we will support more specific typing like 2.7 or something
> more impressive.  Emond Papegaaij is currently working on some very
> interesting ideas in this area. I'm assuming he will provide a public
> link to his report once it is completed.

Yes, it should all become publicly available. My current deadline still is 
mid-december, but I should be able to publish some stuff earlier.

Best regards,
Emond


More information about the antlr-interest mailing list