bracing for a firestorm
Remco Gerlich
scarblac at pino.selwerd.nl
Mon May 21 17:59:02 EDT 2001
Andrew Kuchling <akuchlin at mems-exchange.org> wrote in comp.lang.python:
> rzantow at usa.net (- RZ) writes:
> > Can anyone tell me what would be involved in creating a version of
> > Python that used {braces} as its indent/dedent delimiters? What
> > modules would have to be changed?
>
> Probably just hacking the tokenizer so that '{' returns INDENT and '}'
> returns DEDENT. While probably not completely trivial, I can't see
> this taking more than an evening's work to get an initial hack
> running.
But then, dictionaries also use { }...
--
Remco Gerlich
More information about the Python-list
mailing list