TY - JOUR
T1 - Generative text using classical nondeterminism
AU - Horswill, Ian
N1 - Publisher Copyright:
© 2020 for this paper by its author. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).
PY - 2020
Y1 - 2020
N2 - Many recent generative text systems combine a context-free grammar base with some set of extensions such as tagging or inline JavaScript. We argue that the restriction to CFGs is unnecessary and that the standard pattern-directed, nondeterministic control structures common to Prolog, definite-clause grammars, and many HTNs, support a superset of these capabilities while still being simple to implement. We describe Step, a generative text system for Unity games based on higher-order HTNs that so far as we can determine from published descriptions, generalizes this previous work. We then describe syntactic extensions to make Step more natural as a text-authoring language. Finally, we discuss how Step and similar systems can be implemented very compactly in modern mainstream programming languages.
AB - Many recent generative text systems combine a context-free grammar base with some set of extensions such as tagging or inline JavaScript. We argue that the restriction to CFGs is unnecessary and that the standard pattern-directed, nondeterministic control structures common to Prolog, definite-clause grammars, and many HTNs, support a superset of these capabilities while still being simple to implement. We describe Step, a generative text system for Unity games based on higher-order HTNs that so far as we can determine from published descriptions, generalizes this previous work. We then describe syntactic extensions to make Step more natural as a text-authoring language. Finally, we discuss how Step and similar systems can be implemented very compactly in modern mainstream programming languages.
UR - http://www.scopus.com/inward/record.url?scp=85106186737&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85106186737&partnerID=8YFLogxK
M3 - Conference article
AN - SCOPUS:85106186737
SN - 1613-0073
VL - 2862
JO - CEUR Workshop Proceedings
JF - CEUR Workshop Proceedings
T2 - 2020 Joint Artificial Intelligence and Interactive Digital Entertainment Workshops, AIIDE-WS 2020
Y2 - 19 October 2020
ER -