[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is Lua 5.2's implementation/specification of weak tables compatible with Lua 5.1's specification?
- From: Coda Highland <chighland@...>
- Date: Sun, 27 Sep 2015 18:22:34 -0700
On Sat, Sep 26, 2015 at 6:15 PM, Soni L. <firstname.lastname@example.org> wrote:
> From reading the specs for Lua 5.2:
> http://www.lua.org/manual/5.2/manual.html#2.5.2 and Lua 5.1:
> http://www.lua.org/manual/5.1/manual.html#2.10.2 it seems that Lua 5.2's
> implementation is compliant with Lua 5.1's specification. That is, Lua 5.2
> simply defines what in Lua 5.1 is undefined.
> Can/should a Lua 5.1 interpreter use Lua 5.2's weak table behaviour?
I would agree that this would be permissible.
What IS PUC-Rio Lua 5.1's weak table behavior? And for that matter,
what's LuaJIT's behavior?