Re:Dialog – A domain-specific language for creating works of...
by svachalek on Wednesday June 19, 2019 @07:29PM
(#20228370)
"Interactive fiction" generally refers to a specific style of game along the lines of the original Adventure, Zork series, etc. Generally it supports navigation, inventory management, and full sentence interactions, so while it's "lite" programming it's still more than multiple-choice questions.
Re:Dialog – A domain-specific language for creating works of...
by egypturnash on Wednesday June 19, 2019 @10:48PM
(#20229390)
Compare the source of a game in Dialog: http://www.linusakesson.net/dialog/cloak/cloak-rel1.dg
With the source of a game in Inform 7: http://inform7.com/learn/eg/bronze/source.html
One of these looks much more like a programming language than the other; both compile to the Infocom virtual machine (or a direct descendant of it), both create Infocom-style Interactive Fiction rather than the choose-your-own-adventure style of Twine or ChoiceScript.
Re:Dialog – A domain-specific language for creating works of...
by thrower123 on Thursday June 20, 2019 @05:05AM
(#20231101)
Dialog looks much more like a LISPy version of Inform 6
Re:Dialog – A domain-specific language for creating works of...
by WorldMaker on Thursday June 20, 2019 @02:04PM
(#20235500)
Which is interestingly appropriate given the original Zork Implementation Language (ZIL) and its LISPiness (forked from MDL). Dialog doesn't look that far off from ZIL.
Re:Dialog – A domain-specific language for creating works of...
by Zanni on Wednesday June 19, 2019 @11:15PM
(#20229520)
People use the term in different ways, but my understanding is that "interactive fiction" was intentionally created as a broader term to encompass the games you're talking about (commonly called adventure games or text adventures) plus more literary efforts that can't really be called games at all. Choice-based games fall somewhere on that spectrum between puzzle heavy, parser games and fiction with interactive elements. "Among the Seasons," which tied for Best in Show at this year's Spring Thing Festival of Interactive Fiction, is essentially a short story with some limited choices. It's written in Twine but could probably be done in something like ChoiceScript.
Though not perfect, ChoiceScript is a lot closer to what seems like a good DSL for writing interactive fiction, since it remains readable without a lot of special language constructs.
https://www.choiceofgames.com/make-your-own-games/choicescri...