[antlr-interest] how to modify an AST after it has been constructed

Johannes Luber jaluber at gmx.de
Wed Aug 6 04:28:23 PDT 2008


Raphael Reitzig schrieb:
> Hi!
> 
> I suppose you can write a tree gramar, walk and rewrite it.
> 
> Regards
> 
> Raphael

While this is correct, you need ANTLR 3.1 (or at least a beta) to be 
able to rewrite trees.

Johannes
> 
> "Gerard van de Glind" <g.vandeglind at beinformed.nl> wrote (Wed Aug  6 
> 12:50:00 2008):
> 
>> Hi all,
>>
>> Is it possible to modify an AST after it has been constructed?
>> And what is the best way to do it?
>>
>> Thanks, Gerard
>>
>>
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 



More information about the antlr-interest mailing list