Python AST as XML
Oleg Paraschenko
olepar at gmail.com
Thu Oct 28 02:09:02 EDT 2004
More information about the Python-list mailing list
Thu Oct 28 02:09:02 EDT 2004
- Previous message (by thread): Python AST as XML
- Next message (by thread): deleting elements from a list in a for loop
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, maybe of some interest: http://pysch.sourceforge.net/ast.html [quote] 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. ... [/quote] -- Oleg
- Previous message (by thread): Python AST as XML
- Next message (by thread): deleting elements from a list in a for loop
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list