[antlr-interest] middle-end example

Terence Parr parrt at cs.usfca.edu
Mon Oct 29 13:43:27 PDT 2007


On Oct 29, 2007, at 6:08 AM, Michael LeBlanc wrote:

> I looked through the v3 examples but didn't spot what I'm looking  
> for, which is:
>
> Pass 1: Normal grammar that writes a tree.
> Pass 2 thru N-1: Tree grammars that rewrite the tree.  Optimizers,  
> if you like.
> Pass N: Tree grammar that writes string-templates to produce final  
> output.
>
> Can anyone point me to such a thing?

Tree rewrites are possible in 3.1 but 3.1 is not out yet.  Want to  
play with 3.1b1?  Send me mail.

Ter


More information about the antlr-interest mailing list