autocoding project proposal
Neil Hodgson
nhodgson at bigpond.net.au
Tue Jan 29 15:30:07 EST 2002
Brian Raven:
> Can anyone suggest any problems with this approach, or was this what a
> previous poster meant by being not that hard?
Generating Python is really no different from other languages here. When
automatically generating C/C++ code it is best to indent correctly to make
the code readable. Just maintain a current indent level and add to it for
':' and subtract from it when ending a block.
Neil
More information about the Python-list
mailing list