Teaching Programming
Stefan Behnel
stefan_ml at behnel.de
Tue May 4 08:40:07 EDT 2010
Ed Keith, 04.05.2010 14:15:
> I wrote AsciiLitProg (http://asciilitprog.berlios.de/) in Python. It is
> a literate programming tool. It generates code from a document. It can
> generate code in any language the author wants. It would have been a LOT
> easier to write if it did not generate Python code.
>
> Python is a great language to write in (although I do wish it did a
> better job with closures). But it is a PITA to generate code for!
Interesting. Could you elaborate a bit? Could you give a short example of
what kind of document text you translate into what kind of Python code, and
what the problems were that you faced in doing so?
Stefan
More information about the Python-list
mailing list