[antlr-interest] CommonTree Serialization to XML

Des Hartman des at deshartman.com
Wed May 6 17:40:58 PDT 2009


Jim,

ok, I'll have a look. Just wanted to check if this was still in version 3?

Thanks
Des



2009/5/7 Jim Idle <jimi at temporal-wave.com>

> Des Hartman wrote:
> > I saw there was some documentation on serializing an AST (CommonTree)
> > to XML. This appears to be only for ANTLR v2 (see below)
> >
> > Is there a similar facility in 3.1.3?
> >
> If I were you, I would just copy the code from
> org.antlr.runtime.tree.DOTTreeGenerator.java and change it to produce
> XML. Should be trivial.
>
> Jim
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090507/5f4a7d57/attachment.html 


More information about the antlr-interest mailing list