lua-users home
lua-l archive

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


On Wed, 24 Feb 2010, Roberto Ierusalimschy wrote:
>
> We also came up with a new concept for environments in Lua 5.2; its
> main merit is simplicity. Lua functions do not have environments any
> more. The construction "in env do ... end" is gone too. The new rules
> are really simple:

I like this.

> (So, the only "environments" left are for userdata, which probably
> should get a more proper name.)

"shadow table" perhaps?

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.