I recently played around with Ink. [1] I hadn’t heard of Dialog, but it shall be interesting to contrast them.
It’s quite elucidating to see how different the constructs of a programming language can be when the constraints are so different. For example, Ink is designed to produce spaghetti code, because a narrative is more spaghetti shaped, so there is no call stack. Another peculiar thing is that by default, a link will only be used once, because in most narratives you don’t want to read the same thing over and over again.
This is very interesting, but I feel like it's still too close to being an actual language for it to be worth using for the purpose of writing fiction. You might as well use Ruby, but that's just my personal opinion.
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.
"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.
Those who are interested in this might also want to check out Kni, an interactive fiction language implemented in JavaScript: https://github.com/kriskowal/kni
I've seen something similar for creating spam that slips past pattern-based scrubbers by finding gajillion ways to say the same thing using different word order and synonyms.
[+] [-] tobr|6 years ago|reply
It’s quite elucidating to see how different the constructs of a programming language can be when the constraints are so different. For example, Ink is designed to produce spaghetti code, because a narrative is more spaghetti shaped, so there is no call stack. Another peculiar thing is that by default, a link will only be used once, because in most narratives you don’t want to read the same thing over and over again.
1: https://github.com/inkle/ink/blob/master/Documentation/Writi...
[+] [-] ravenstine|6 years ago|reply
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...
[+] [-] svachalek|6 years ago|reply
[+] [-] segphault|6 years ago|reply
[+] [-] Avshalom|6 years ago|reply
[+] [-] tabtab|6 years ago|reply
[+] [-] CondensedBrain|6 years ago|reply
https://en.wikipedia.org/wiki/Article_spinning
[+] [-] star0zero|6 years ago|reply
[+] [-] bluetwo|6 years ago|reply
[+] [-] andyjpb|6 years ago|reply