There were some major changes in Lua 5.2 which put me off attempting to implement it.
See
Changes in the Language
In particular:
- Function module is deprecated. It is easy to set up a module with regular Lua code. Modules are not expected to set global variables.
- Functions setfenv and getfenv were removed, because of the changes in environments.
This would impact on the way that things like table serialization work. Also, testing showed that other DLLs would be incompatible with Lua 5.2. For example, the MySQL DLL.
Basically, because of the changes to things like
setfenv, existing code just wouldn't work. And even if it could be got to work you would then have to fiddle around getting the correct DLLs for other functions (if you wanted MySQL, for example). It was just going to be a mess.
Lua 5.1 works, and in this case my philosophy is "if it ain't broke, don't fix it".