[antlr-interest] Tree to Tree transformations using ANTLR3?

Terence Parr parrt at cs.usfca.edu
Tue Jul 25 09:45:27 PDT 2006


On Jul 25, 2006, at 4:14 AM, M C wrote:

> Since ANTLR3's wonderful TreeAdaptor let ANTLR3 work with non-ANTLR  
> trees in a efficient way, I am considering using ANTLR3 as a  
> generic tree (or maybe graph) transformation tool... I.e. where the  
> input is a tree and output is a new tree. Example domains would be  
> tree rewriting optimizers, rule engines and maybe some graph  
> processing tools.
>
> However the examples I could find are all text parsing related, so  
> I am unsure if this kind of "Tree 2 Tree" transformations are or  
> will be supported by ANTLR3?

Hi Morten, unfortunately, not implemented yet :(
Ter


More information about the antlr-interest mailing list