Skip to content

lemilonkh/moontrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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