On Sun, Dec 04, 2011 at 02:19:01PM +0000, Stuart Henderson wrote:
> On 2011-12-03, James Turner <ja...@calminferno.net> wrote:
> > Attached is a diff to bring Lua 5.14 up to patch 4.
> 
> Committed, thanks.
> 

Great, thanks.

> > Also, Lua 5.2 is at rc4 and should see a release in the up coming weeks.
> > I was wondering if anyone was working on port for it? I figured I'll try
> > to handle it the same way Python and PHP are being handled, ie have both
> > 5.1.4 and 5.2 in tree. Thanks.
> 
> Is this necessary / is there an advantage to doing this?
> 
> Python was originally done because some packages depending on python
> only worked with the old version (and is continued because there are
> major differences with 3.x), does something like this apply to Lua as
> well?
> 
> If not then it is (quite a lot of) unnecessary pain to maintain two
> versions in-tree.
> 

Lua 5.2 does have a number of changes that could break software written
for 5.1.4. A list of incompatibilities can be found here [0].

I'm not sure if it will be defined by default with 5.2 release but rc4
does have LUA_COMPAT_ALL defined by default. With this define, it may be
ok to just update the port rather then create the separate versions.

I'll look into this more and build/test the various lua ports included
in tree before I put to much work into reworking the port.

[0] http://www.lua.org/work/doc/manual.html#8

-- 
James Turner
ja...@calminferno.net

Reply via email to