3 ms·
By the way, it's highly noteworthy, for hackers/devs especially, that the newest Inform programming language (Inform 7, a.k.a. Natural Inform), for writing Inte
by akavel 12y ago
By the way, it's highly noteworthy, for hackers/devs especially, that the newest Inform programming language (Inform 7, a.k.a. Natural Inform), for writing Interactive Fiction, is based on natural language -- i.e. "code that reads like English." Thus, the mandatory Hello World looks like below (copied from Wikipedia):
"Hello World" by "I.F. Author"
The world is a room.
When play begins, say "Hello, world."
Really, I'm not joking! For more info, see:
http://inform7.com/ http://inform7.com/
http://en.wikipedia.org/wiki/Inform#Example_game_2 http://en.wikipedia.org/wiki/Inform#Example_game_2
What's even more surprising (at least to me), is that it actually seems to work, and quite nice! And the feeling of writing in it is really awesome and like nothing else. That said, it's not completely without quirks, obviously (what hit me most, personally, were problems with backwards compatibility between far away versions).
- tjradcliffe 12y agoI've been playing around with this in recent months and while it does work, it's a pretty deep language with lots of quirks (kind of like English, actually...) I recommend anyone who is interested in language design having a look at it, as it is a unique and interesting variation on domain-specific languages that sacrifices scalability and performance in favour of a certain kind of accessibility and power. I've been using Aaron Reed's "Creating Interactive Fiction with Inform7" as a guide, which is as much about the nature of IF storytelling as the language (which is well-documented in the standard IDE): http://www.amazon.com/Creating-Interactive-Fiction-Inform-7/dp/1435455061/ref=sr_1_1?ie=UTF8&qid=1414055607&sr=8-1&keywords=aaron+reed+inform http://www.amazon.com/Creating-Interactive-Fiction-Inform-7/...