Inform is my favorite of this sort of language. I really liked it when I wrote interactive fiction. Here’s a bit of a game Emily Short wrote:
The Scarlet Tower is southeast of the Scarlet Gallery. "A little hexagonal
room, from whose [narrow window] you can see the moat, the lawn, and
the beginning of the forest outside." The narrow window is scenery in the
Scarlet Tower. The outdoors is scenery in the Scarlet Tower. Understand
"moat" and "lawn" and "forest" as the outdoors.
COBOL v2 baby. This looks interesting as a teaching resource.
I don’t understand the attempt to make ‘natural english’ a programming language. It just ends up being verbose.
And I don’t think anybody had difficulty learning programming because the language is not english, when really it is just a subset of english and maths.
make x equal 12
x = 12
initialize the buttons
add 2 to 4 and put the result in ‘number
number = 2 + 4
not to mention the fact that with a programming language, it’s far easier to teach it to a non-english speakers. If they had learned maths, they know what x = 1+2 probably means.
Exactly. The reason programming is difficult isn’t because syntax is hard - it’s because humans are sloppy and don’t think like computers. English-like programming languages are just difficult to quickly parse (both for computers and humans).
See also c2eng and BabelBuster, entries in the DeCSS gallery. (I wrote c2eng)