News for hackers. Stuff that matters.
Re:Source code for Zork, Hitchhiker’s Guide, and other Infoc... by johnmw on Tuesday April 16, 2019 @04:46PM (#19677141)
If you have an interest in odd programming languages, the 'spiritual successor' to these games written in the Infocom ZIL language would be Inform7.

I think it is quite a fascinating declarative language that reads much like English, for example:

The same division between creating things, and laying down rules, is visible in Inform source text. The creation of the world is done by making unconditional factual statements about it. For example,

  The wood-slatted crate is in the Gazebo. The crate is a container.
More info: http://inform7.com/learn/man/WI_2_1.html
Re:Source code for Zork, Hitchhiker’s Guide, and other Infoc... by baruchel on Thursday April 18, 2019 @08:29AM (#19690483)
IMHO, Inform6 (which is a true object-oriented programming language) is much more powerful than Inform7. I tried both and found that: I7 is not consistent and often ambiguous: some pieces of code would get broken after inserting a perfectly valid "sentence" with no explanation; compilation is slow, execution is slow; some tiny compiled text games with no picture and no sound weight more than 5Mo. If I had a large project to code, I would take I6 without a doubt.
Re:Source code for Zork, Hitchhiker’s Guide, and other Infoc... by taradinoc on Thursday April 18, 2019 @04:41PM (#19694595)
Everything you said about I7 is true, but its real value comes from the abstractions it introduces.

That is, it isn't just an English-like syntax for writers who are used to writing in complete sentences... it's a programming model based on concepts from narrative, technical writing, and linguistics, for writers who are using it to write narratives, describe technical systems, and manipulate text.

I7 integrates high-level domain concepts of interactive fiction into the language: scenes and continuity, rules and their exceptions, relationships between objects, templates for parsing and printing text.

Re:Source code for Zork, Hitchhiker’s Guide, and other Infoc... by anthk on Tuesday April 16, 2019 @10:11PM (#19679099)
Inform6 was first, and it was far easier to grasp than ZIL and Inform7 itself.