[antlr-interest] an antlr 3.1 beta daily build

Terence Parr parrt at cs.usfca.edu
Mon Oct 29 14:21:19 PDT 2007


I don't really have any doc yet though other than unit tests and a  
few blog entries like:

http://www.antlr.org/wiki/display/~admin/2007/07/19/

Grab:

http://www.antlr.org/download/build/antlr-2007-10-29.14.tar.gz

Oh, from CHANGES.txt:

* Added AST construction for tree parsers including -> rewrite rules.
   Rewrite mode (rewrite=true) alters the tree in place rather than
   constructing a whole new tree.  Implementation notes:
   ...

* got tree rewrites working in tree grammars.  It builds a completely  
new
   tree from old tree; i.e., you get two trees in memory.  W/o a rewrite
   rule, the input for that rule is duplicated and returned. -> w/o  
elements
   to the right means don't return anything; i.e., delete.  Ooops...way
   harder than I thought.  Real implementation notes above.

Ter



More information about the antlr-interest mailing list