LuaJS icon indicating copy to clipboard operation
LuaJS copied to clipboard

Support for other versions of Lua?

Open emmericp opened this issue 1 year ago • 3 comments

I was looking into LuaJS for something is written in Lua 5.1 (and can't reasonably support later versions of Lua), so I was wondering if you would consider adding support for multiple different versions of Lua. At least Lua 5.1 is somewhat popular.

The required diff to make Lua 5.1 work is surprisingly small, I hacked this together: https://github.com/Doridian/LuaJS/compare/main...emmericp:LuaJS:lua5.1. Obviously has some small problems and that's obviously not meant to be merged, just a proof of concept how small the differences are.

Would you consider adding support for Lua 5.1 if I would clean up my patch a bit?

emmericp avatar Jan 05 '25 13:01 emmericp