[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: a case for multiple environments - expressing modules more naturally
- From: David Manura <dm.lua@...>
- Date: Mon, 9 Aug 2010 20:32:32 -0400
On Sun, Aug 8, 2010 at 2:57 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
> Anyway, isn't this a continuation of the "referencing table elements
> within the same table constructor" thread?
The gist of that seemed to be to allow
return {x = 2; y = function() print(x) end}
where print resolves to _G and x resolves to the table, which also
could be possible to resolve at compile time. So, it is related.