I'm running my unit tests outside of the PlaydateSimulator as it's easier to capture and compare output, and it's just faster. I'm currently using the upstream Lua interpreter. However to do this, I can't use any of the Playdate extensions; in particular the additional assignment operators (+=
, -=
, and friends). That's slightly annoying. It also presents a challenge when using class("Name").extends()
, as the class library itself relies on the extensions. I'm coping for now by using a modified copy of CoreLibs/object.lua
, but that feels like I'm setting myself up for unpleasant future surprises.
Given all of that, it would be nice to have a standalone Lua interpreter that understood the Playdate extensions.