[antlr-interest] Can ANTLR transform AST to XML?
Terence Parr
parrt at cs.usfca.edu
Sun Mar 13 11:13:18 PST 2005
On Mar 12, 2005, at 9:16 PM, FC wrote:
> Hi,
>
> In my project, I want to use Antlr to parse my Java
> source code to generate AST tree. But I want to store
> AST in XML so that I can use this XML in my next
> module of the project. I wonder if the current Antlr
> can provide to tranform AST to XML.
Thanks to Oliver Zeigermann, there are AST xml serialization methods
built into the AST classes...search for XML in the api.
Ter
More information about the antlr-interest
mailing list