[OT] code is data
bruno at modulix
onurb at xiludom.gro
Mon Jun 19 14:15:36 EDT 2006
Fredrik Lundh wrote:
> Laurent Pointal wrote:
>> Bruno Desthuilliers wrote:
>>> Anton Vredegoor wrote:
>>>> The idea is to have a way to transform a Python (.py) module into XML
>>>> and then do source code manipulations in XML-space using ElementTree.
>
>>>
>
>>> My my my... I'm not against the idea of dynamic source code
>>> transformation, but for heaven's sake, *why* would one put XML in the
>>> mix ???????
>
>
> because lots of people know how to describe XML transformations, and
> there are plenty of tools that implement such transformations efficiently ?
Efficiently enough for dynamic (runtime) use ?
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list