lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> if libraries you need are 5.1-only and are not easily ported

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

For 5.1 libraries written in Lua, the only difficulty will be dealing
with setfenv. Ideally this should be handled by rewritten them using the
new _ENV mechanism or using the new env arg in load. The other common
problem is the removal of the module function; it is recommended that
libraries be rewritten in the current, simpler scheme.

I thought there was a wiki page on porting 5.1 libraries to 5.2 but
I can't find it now.