Narrator
2020
The Ink language parser and runtime implementation in Lua.
Available on Github.
Allows to convert Ink scripts to the book and play it as a story. Suitable for interactive fiction games, dialogues and complex narrative stories. Works with any Lua-based game engine.
It uses LPeg patterns to parse Ink scripts. LPeg is a wondrous deep world that you have to carefully dive into to begin to understand it. And then slowly, carefully go to the surface, so as not to break something.