[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] compat_load - Lua 5.2 compatable load/loadfile for Lua 5.1
- From: David Manura <dm.lua@...>
- Date: Wed, 25 Jan 2012 00:51:07 -0500
On Tue, Jan 24, 2012 at 6:13 AM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> On Sun, Jan 22, 2012 at 1:03 AM, HyperHacker <hyperhacker@gmail.com> wrote:
>> Personally I think setfenv will be the function I find myself
>> replacing the most...
> Here's the Lua 5.2 compatibility functions from Penlight, which are
> all in utils.lua, line 200
setfenv/getfenv have been added [1], and the module has been renamed
'compat_env'.
[1] https://gist.github.com/1654007