Luabind adapted to Lua 5.2

Peter Colberg <[email protected]> Thu, 22 Dec 2011 22:51:35 +0100
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <20111222215135.GA3312@alcyone>
Hi,

Lua version 5.2.0 has been released a week ago, and since I am
curious to test it, I adapted the Luabind library to Lua 5.2.

There has been a prior effort by Teto [1] to port Luabind to a Lua
5.2 release candidate, adopted in a git branch by Ryan Pavlik [2].
To keep changes minimal, however, and learn about the differences
between Lua 5.1 and 5.2, I started from scratch following the
Lua 5.2 manual [3].

[1] http://article.gmane.org/gmane.comp.lang.lua.luabind/2898
[2] http://article.gmane.org/gmane.comp.lang.lua.luabind/2899
[3] http://www.lua.org/manual/5.2/manual.html#8


My adaptation of Luabind to Lua 5.2 is available at:

http://git.colberg.org/luabind.git
https://git.colberg.org/luabind.git
git://git.colberg.org/luabind.git

A tarball snapshot of the repository may be found at:

http://sourceforge.net/projects/halmd/files/libs/luabind/

The Luabind test suite passes both with Lua 5.2 and 5.1.


The repository is based on Luabind upstream commit 3044a90, and
contains minimal changes for compatibility with Lua 5.2, as well
as the cast graph cache bug fix [4].

[4] http://article.gmane.org/gmane.comp.lang.lua.luabind/2924

I invite everyone to give it a try, and merge/cherry-pick into your
personal Luabind branches. As mentioned above, I made sure to keep
the changes minimal. Further, the code is *backwards compatible*
with Lua 5.1. The macros for Lua 5.1 compatibility are written
thus that the corresponding lines may simply be deleted to get
rid of Lua 5.1 compatibility in the far future.

Regards,
Peter

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev