There are many projects out there that use Lua 5.1 or 5.2, mainly because they are based on LuaJIT rather than PUC-Lua. In order to run such Lua scripts on the JVM, currently the best way to do this involves using LuaJ. In order to LuaJ users a viable alternative, it would be good to have a compatibility layer for running Lua 5.1 and 5.2 on Rembulan.
The simplest way to go about this would be adding alternative implementations of the standard library. This would not provide the exact semantics as Lua 5.1 or 5.2, but might be sufficient in most cases.
There are many projects out there that use Lua 5.1 or 5.2, mainly because they are based on LuaJIT rather than PUC-Lua. In order to run such Lua scripts on the JVM, currently the best way to do this involves using LuaJ. In order to LuaJ users a viable alternative, it would be good to have a compatibility layer for running Lua 5.1 and 5.2 on Rembulan.
The simplest way to go about this would be adding alternative implementations of the standard library. This would not provide the exact semantics as Lua 5.1 or 5.2, but might be sufficient in most cases.