Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51660 > unrolled thread

Re: Script that converts between indentation and curly braces in Python code

Started byJoel Goldstick <joel.goldstick@gmail.com>
First post2013-07-31 10:19 -0400
Last post2013-07-31 10:19 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Script that converts between indentation and curly braces in Python code Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-31 10:19 -0400

#51660 — Re: Script that converts between indentation and curly braces in Python code

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2013-07-31 10:19 -0400
SubjectRe: Script that converts between indentation and curly braces in Python code
Message-ID<mailman.27.1375280362.1251.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web