Thoughts on new grammar rules (PEP 284 in particular)

holger krekel pyth at devel.trillke.net
Fri May 10 22:10:09 EDT 2002


Erik Max Francis wrote:
> holger krekel wrote:
> 
> > david and you are right but additionally the OP suggested
> > a general [* syntax *] escape mechanism.
> 
> So what would be the purpose of that if it already behaves the way he
> wishes?

there was more. he e.g mentioned 'for [* 1<x<10 *]:'
where x would probably iterate from 2 to 9, i guess.

Moreover he was making a general point for syntax-escape mechanisms
(i.e. a parametrized parser, which can be extended in the future
without breaking the syntax and semantics of older programs). 

regards,

	holger





More information about the Python-list mailing list