OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Python AST as XML

[ Lists Home | Date Index | Thread Index ]


  maybe of some interest:


XML can be considered as an external representation of in-memory
tree-like structures, and XML-related standards -- as methods of
processing such data. Some types of applications may benefit
from this approach. One of the examples are compilers with
theirs parse trees.

The Pysch distribution contains an example of representing Python
parse trees (abstract syntax trees, AST) as XML and applying an
XSLT transformation to these trees.

At the moment the whole code should be considered as a toy,
not as a production version. Anyway, it works.




News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS