- A MoonScript/ Lua port of Tracery (GitHub).
- Tracery is a story-grammar generation library for JavaScript
- This is a complete rewrite, but the API should be functionally identical
- Uses context-free languages for the grammar and seeded RNG to construct procedural text
For learning how Tracery grammars work in general, visit this tutorial.
More in-depth docs can be found on the Tracery site or its GitHub repo.
Use it to generate any kind of text or images (or music or whatever) that you could also generate with Tracery. Have fun with the C++ API for Tracery grammars.
The project QuestGen is supposed to be compiled with TraceryCpp instead of the JavaScript version in the future.
Use the Tracery visual editor to easily edit and create Tracery grammars with a live preview.
- Clone this repository
- Install LuaRocks and MoonScript