[Chicago] Python preprocessor

Michael Tobis mtobis at gmail.com
Thu Oct 18 16:45:21 CEST 2012


Maybe. Consider this: http://entrian.com/goto/ which adds new
keywords. I have not looked under the hood but it implies a lot of
flex that ordinarily isn't used. Admittedly adding keywords is not
exactly the same.

There are those who consider preprocessing unpythonic. Clearly it has
a drawback in terms of how well others can work with your code. But
ipython involves some preprocessing and is very popular. I think other
python shells may be similar.

Guido himself recently suggested that there was room for a few
almost-python languages. I think the fact that it is easy to add
preprocessing to the interactive mode is an important feature of
Python.

So it's not like I've answered your question, but I'd like to at least
express interest.

mt


mt


More information about the Chicago mailing list