lemilonkh / moontrace

Lua port of Tracery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MoonTrace

Logo

Information

  • 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

Documentation

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 cases

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.

Installation

  1. Clone this repository
  2. Install LuaRocks and MoonScript

About

Lua port of Tracery

License:MIT License


Languages

Language:Lua 100.0%