lua-users home
lua-l archive

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

On Tue, Apr 9, 2013 at 10:46 AM, Miles Bader <> wrote:
The only point I wanted to make is that making an app compatible with
both 5.1 and 5.2 can be pretty easy, even for those that use

My experience matches with Miles - generally the new load() does exactly what's needed. One has to write a few compatibility functions, but then things just work.  David Manura has written a little module that bridges the gap.

As for recompiling for 5.2, it's not difficult with a few #ifdefs, especially if Lua 5.2 is compiled with the 5.1 compat flags (the default).

Many of the API issues I encountered are old 5.0-isms that have finally been dropped.