[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Treecc AST to XML dump
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]Treecc AST to XML dump |
Date: |
Thu, 5 Feb 2004 15:10:17 +1000 |
User-agent: |
KMail/1.4.3 |
On Thursday 05 February 2004 07:01 am, Sérgio Ferreira wrote:
> Hi :
>
> Is there a very easy way to dump an AST to XML file or a XML DOM tree,
> for example with Xerces C++ ?
There is no standard way to do this with treecc's generated output, mostly
because there's too much variation in what a node may contain, making a
generic dumper impossible to write. However, there is nothing stopping you
from writing a node operation that dumps XML for your particular application.
Cheers,
Rhys.