[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: modules and require all
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 12 Nov 2012 16:08:05 -0200
> Figuratively speaking, _ENV changes lexical scoping from "wrong end".
_ENV does not change lexical scoping. _ENV is not "with" (and does not
intend to be).
BTW, "with" seems impossible in Lua, unless we have a very different
notion of "lexical scoping". With dynamic typing, the compiler cannot
know what names a "with" is binding.
-- Roberto