[antlr-interest] proposed enhancement to ANTLR v3 ST integration

Terence Parr parrt at cs.usfca.edu
Sat Jan 7 10:26:00 PST 2006


On Jan 7, 2006, at 5:45 AM, stefan wrote:
> Hello Terence,
>
>        some time ago I worked on a prettyprinter. I used a walker  
> to traverse
> the tree and print the information. Almost every node had an  
> associated
> template and implicitly actions for creating the template and settting
> attributes. So, from my point of view it would be nice to have some
> shortcuts.

Ok, thanks, Stefan.  I'm nervous about the complexity of the actions  
in v3, but the separate % symbol will help both human and computer  
alike to disambiguate.  Further, people can do straight actions if  
they want to avoid %.

Ter


More information about the antlr-interest mailing list