Using Python to generate code?
project5 at redrival.net
Wed Sep 8 10:20:13 CEST 2004
Tran Tuan Anh <anhtt <at> hotmail.com> writes:
> 1. Can Python help to solve this issue?
I have used Python for quite simple code generation/templating - not in C++, but
that makes no difference. There are even special and not that complex tools for
code generation, e.g. Cog (http://www.nedbatchelder.com/code/cog/index.html).
> 2. Does Python has a parser? It seems to me that there is no-standard
There are all kinds of parsers, but I've never used any of them. Google gives
tons of links when searching for "python parser", so a more specific search
would be wise.
More information about the Python-list