[antlr-interest] Is there an AST rewrite library available?

Benjamin Niemann pink at odahoda.de
Sun Oct 14 02:27:39 PDT 2007


Hi Gerald,

Gerald B. Rosenberg wrote:

> Looking for a generalized base library for doing Antlr AST rewrites -
> inserting, deleting, moving nodes, that sort of thing -- to support
> an interactive refactoring of the document represented by the AST?

The upcoming 3.1 release features AST rewriting for tree grammars. As part
of this, the API of BaseTree has been extended to support delete, replace
and insert operations.

HTH

-- 
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/



More information about the antlr-interest mailing list