Re: Luabind adapted to Lua 5.2
Teto <[email protected]> Fri, 23 Dec 2011 10:39:26 +0100
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <CADHp1Nw=w_7wrMQj9joFnMENtqNP=xumeDjZCvd8axK2QnJnRw@mail.gmail.com> |
that's great news ! Do you intend to keep on improving luabind ? Don't know if you noticed but I tried to use C++11 templates instead of boost macros. That was for fun but if a guy is serious about luabind dev, that might improve perf. Kudos to Ryan Pavlik too for maintaining his branch. On Thu, Dec 22, 2011 at 10:51 PM, Peter Colberg <[email protected]> wrote: > 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 > _______________________________________________ > luabind-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/luabind-user ------------------------------------------------------------------------------ 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