Tobias Andersson wrote:
The Music Guy skrev:
Just out of curiousity, have there been any attempts to make a version
of Python that looks like actual English text? I mean, so much of Python
is already based on the English language that it seems like the next
natural step would be to make a programming language which is actually a
spoken one.

Take a look at Inform 7. It's not Python but does something similar to what you are describing:

    www.inform-fiction.org

Check out the examples in the tutorial. Some of them are quite elegant.

I was thinking of this as well when I saw his post. Inform 7 has some interesting ideas, but I think the general problem with English-like programming language systems is that once you get into the nitty gritty details, you end up having to know exactly the right things to type, which ultimately get just as complicated as a more traditional programming language syntax. In the big picture I don't think it helps much. After all, there's a reason that most modern programming languages don't look like COBOL or AppleScript.

--
Erik Max Francis && m...@alcyone.com && http://www.alcyone.com/max/
 San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis
  Physics, as we know it, will be over in six months.
   -- Max Born, 1928
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to