tiny-expression-runtime
tiny-expression-runtime copied to clipboard
Sample project from the interpreters guide. Also see https://yal.cc/interpreters-guide-2/
tiny-expression-runtime
Quick links: Documentation · GM Marketplace page · itch.io page
Explanation: part 1 · part 2
Versions: GameMaker Studio 2
Platforms: All of them
TXR is a demo project for my series on writing custom interpreters. It lets you compile and run snippets of GML-like code.
This can be used as a replacement for execute_string, for small-scale modding support, dialogue systems, or numerous other purposes.
You can choose which scripts to expose to interpreted code, have it access instance variables, process arguments, pause/resume execution, save/load execution state, inspect execution state, etc.