Re:Dialog – A domain-specific language for creating works of...
by tobr on Wednesday June 19, 2019 @05:18PM
(#20227434)
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.
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...