lua-users home
lua-l archive

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


> 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?

I don't know. Even if the changes are small I keep separate versions of
my libraries.

> 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.

Lua does not support binary compatibility across versions.