Hi Luiz,
> I expect that most 5.1 libraries are easily ported to 5.2, especially
> if they are written in C. See this thread:
http://lua-users.org/lists/lua-l/2012-09/msg00596.html
This is interesting. Given that there are only few functions that need to be mapped, is there a "good" way to provide a library that could work with both Lua 5.1 and Lua 5.2 run-times?
Both Linux and OSX provide a way to do dynamic symbol lookup (-undefined dynamic_lookup). It should be possible to provide "proxy" for those functions that have changed between 5.1 and 5.2 and resolve them at run time depending on the version of loaded Lua libraries.
Or am I completely off with this idea?
Paul.