[antlr-interest] Can ANTLR transform AST to XML?

Terence Parr parrt at cs.usfca.edu
Sun Mar 13 11:35:15 PST 2005

On Mar 13, 2005, at 11:28 AM, John D. Mitchell wrote:

>>>>>> "Terence" == Terence Parr <parrt at cs.usfca.edu> writes:
> [...]
>> Thanks to Oliver Zeigermann, there are AST xml serialization methods
>> built into the AST classes...search for XML in the api.
> Cool. Learn something new everyday.
> Thought, that's a straight serialization of the AST to XML and so 
> would be
> brittle w.r.t. changes in the structure over time. [TANSTAAFL. :-)].

Yep, but usually changes in structure mean you want a different tree; 
mostly ;)


More information about the antlr-interest mailing list