lua-users home
lua-l archive

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


> 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