LuaJIT, which is currently 5.1-compatible with “some language and library extensions from Lua 5.2”
5.2
5.3
But with lua-5.1.5 I get error:
/var/tmp/portage/x11-misc/luastatus-9999-r2/work/luastatus-9999/luastatus/luastatus.c: In function 'check_lua_call':
/var/tmp/portage/x11-misc/luastatus-9999-r2/work/luastatus-9999/luastatus/luastatus.c:512:10: error: 'LUA_OK' undeclared (first use in this function)
case LUA_OK:
^~~~~~
/var/tmp/portage/x11-misc/luastatus-9999-r2/work/luastatus-9999/luastatus/luastatus.c:512:10: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [luastatus/CMakeFiles/luastatus.dir/build.make:63: luastatus/CMakeFiles/luastatus.dir/luastatus.c.o] Error 1
LUA_OK declared in lua 5.2, but not in lua 5.1.
Need to correct either the source code or a README.md file.
The README.md file says:
LUA_OK declared in lua 5.2, but not in lua 5.1. Need to correct either the source code or a README.md file.