Tiny Expression Runtime
A downloadable extension
Quick links: Documentation · GM Marketplace page · Source code
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.
Click download now to get access to the following files:
txr2.yyz 104 kB
txr2.yymp 23 kB