[OT] code is data

K.S.Sreeram sreeram at tachyontech.net
Mon Jun 19 23:14:36 EDT 2006


Fredrik Lundh wrote:
> because lots of people know how to describe XML transformations, and 
> there are plenty of tools that implement such transformations efficiently ?
> 
> why would XML be inefficient ?

XML Transformations (XSLT) would *certainly* be an overkill here.
They've invented a whole new declarative programming language, and we
certainly don't need that when we've got Python! :)

XML by itself feels completely out of place in this context. What we
need is, just a flexible, easy to manipulate, in-memory tree structure
(AST) for the Python source.

Regards
Sreeram

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20060620/315ab326/attachment.sig>


More information about the Python-list mailing list