enigma-devel
[Top][All Lists]
Advanced

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

Re: [Enigma-devel] Please upgrade to Lua 5


From: Daniel Heck
Subject: Re: [Enigma-devel] Please upgrade to Lua 5
Date: Sun, 24 Oct 2004 23:07:47 +0200

On Sun, 24 Oct 2004 08:49:49 +0200 Roland Illig wrote:

> I would like Lua to be upgraded to version 5 because it allows nicer 
> function closures. The attached example does not work with Lua 4, but 
> with Lua 5.
> 
> If you don't have the time for this upgrade I may help you.

Lua 5 does have a couple of improvements that would make the switch
worthwhile, but I'm a little afraid of small incompatibilities.  This
wouldn't be a problem if Enigma used Lua only for configuration files,
but there are so many level files, some of them even using non-trivial
Lua features like up-values.  It would be extremely painful to test all
these levels for incompatibilities.

Besides, does a version of tolua for Lua 5 exist?  And is it compatible
with the old version?

If these problems can be addressed, I would gladly accept a patch to
move to Lua 5, but at this point I'm not convinced that the advantages
would outweigh the effort involved.  But please, prove me wrong :-)

Cheers,
Daniel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]