Script that converts between indentation and curly braces in Python code

Joel Goldstick joel.goldstick at gmail.com
Wed Jul 31 10:19:12 EDT 2013


So, why do you want to do this?  As has been pointed out, its a
difficult and likely sizable task to build such a parser.  In the end
you get something that isn't a computer language -- even tho it looks
like one.  And it also is probably just as big a job to convert it
back to python.  So, what is the point?

Pardon me for making assumptions, but this seems to be a variation on
the theme of 'I don't like python, it doesn't have curly braces'.  So
if you need curly braces, you have many other languages to choose
from.  Python isn't one of them.



More information about the Python-list mailing list