Hi,I'm playing with an idea of building lua libraries against compat-lua to allow luajit working with them. My initial motivation for this is that there are projects which don't work with Lua-5.2 and developers for various reasons don't want to port it to lua-5.2 yet (for example Prosody package).
I would imagine it to work the same way as Python2 vs. Python3 does. It means to build the project twice - once against "lua" (lua-5.2) and once against "compat-lua" (lua-5.1) using single spec file.
I've done some test with lua-expat and I'm attaching patch against lua-expat.spec to show how it could be done.
I'm OK with creating bugs and patches against some basic lua modules (basically the ones I need myself for Prosody :) ), but at first I wanted to ask Lua people here what do they think about it?
Regards, Jan Kaluza
Attachment:
lua-expat-compat.patch
Description: application/download
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct