Tracery is a story-grammar generation library originally developed by Kate Compton.
More information can be found on the original readme.
With this port, you can read JSON Tracery grammars straight from an included file or a stringified variable and create generative text.
How to use
obj_grammar
objectgrammar_load_from
with the grammar object and the json_decode
of the JSON inputgrammar_flatten
of the grammar, which will default to the #origin# tag, but can be defined as another root.Examples of the above can be found in the obj_example
object included in the project.
End User Licence Agreement (EULA).