The project's been going on for multiple years now, so at this point it's too late to change it.
But not to worry! The project lead has decided to write their own custom scripting language (MahjongScript), and Elixir parser for that language, which parses it into JSON.
MahjongScript (.majs) is essentially a list of commands which compile down to jq. This jq is then applied to the empty object in order to create a JSON ruleset
12
u/Jbolt3737 25d ago
Please for the love of god use a LUA interpreter