I was on the version history page on Lua.org and was wondering if you have any plans to update Lua to 5.1.5 or any newer major version. Are there any differences in the newer versions that would be relevant to MUD coding which would justifying going to a newer version? I saw discussion about adding quality of life features in 5.2 (I think) like setn for tables to simplify getting their size.
Lua version plans
Posted by Kevnuke on Sun 28 Jul 2019 01:14 AM — 3 posts, 16,298 views.
You may be interested in https://github.com/keplerproject/lua-compat-5.3
See http://www.gammon.com.au/forum/?id=14028
The changes in Lua 5.2 made it incompatible with the general way things are done in the client plugins, particularly that functions setfenv and getfenv were removed.
This may not be as big a problem with 5.1.5, however I'm not sure about the DLL compatibilites. There are quite a few DLLs that I make available here (eg. to do SQL, LuaSocket, COM, etc.). I would want to be sure that they worked with 5.1.5.
Meanwhile Fiendish's suggestion of the compatability module might go a fair way towards letting you use some of the newer features.
The changes in Lua 5.2 made it incompatible with the general way things are done in the client plugins, particularly that functions setfenv and getfenv were removed.
This may not be as big a problem with 5.1.5, however I'm not sure about the DLL compatibilites. There are quite a few DLLs that I make available here (eg. to do SQL, LuaSocket, COM, etc.). I would want to be sure that they worked with 5.1.5.
Meanwhile Fiendish's suggestion of the compatability module might go a fair way towards letting you use some of the newer features.