What to use for adding syntax for hierarcical trees, metaclasses, tokenize.py or PLY?
michele.simionato at gmail.com
Tue May 9 14:22:10 CEST 2006
<questions on how to extend Python syntax>
You should look at the compiler package and at the new AST in Python
For easy things tokenize could be enough, though. Notice that in Python
grew a new 'untokenize' function which is pretty useful. See
http://docs.python.org/dev/lib/module-tokenize.html for examples.
More information about the Python-list