[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua registry, environment, and threads.
- From: Leo Razoumov <slonik.az@...>
- Date: Thu, 7 Jan 2010 12:56:31 -0500
On 2010-01-07, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>
> Actually, getfenv and setfenv will be deprecated too. (But is is easy
> to have them back for compatibility.)
>
> Lua 5.2 will have "lexical environments", a kind of lexical setfenv.
> The construction "in t do command end" will execute <command> with
> all global variables being resolved in <t>.
>
What would be Lua-5.2 idioms for creating sandboxes and jails?
--Leo--
- References:
- Lua registry, environment, and threads., Christian Tellefsen
- Re: Lua registry, environment, and threads., Patrick Donnelly
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy
- Re: Lua registry, environment, and threads., Christian Tellefsen
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy
- Re: Lua registry, environment, and threads., Mark Hamburg
- Re: Lua registry, environment, and threads., Patrick Donnelly
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy