Lua 5.1 has been deprecated (in a few years, will be two decades).
[LuaJIT](https://github.com/LuaJIT/LuaJIT) appears to be a drop-in replacement for Lua 5.1 that would require only build script or other minor changes. Based on Git activity, LuaJIT is actively maintained.
github-comments@lists.geany.org