English-like Python

Aaron Brady castironpi at gmail.com
Tue Jan 20 13:14:21 EST 2009


On Jan 17, 6:10 pm, The Music Guy <music... at alphaios.net> wrote:
> Wow, impressive responses.
>
> It sounds like the general consensus is that English would not be a good
> choice for programming even if there were an interpreter capable of
> turning human language into machine language. But that makes sense; even
> English professionals have trouble understanding each other sometimes.
> Until that problem is somehow overcome, there's not much hope of
> computers to overcome it.

I think it would be a good step if you could make some sensible
interpretation of a typical statement without its parentheses.

f "abc" 123
-->
f( "abc", 123 )

It would be just the thing in a couple of situations... though it does
conflict with raw-string literals as stated: r"abc"... which if you
left open, would be susceptible to a local definition of r!.  Maybe
you could put it after, like numeric literals: 123L, "abc"r, which is
not bad.



More information about the Python-list mailing list