[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lexical scoping
- From: Roberto Ierusalimschy <rieru@...>
- Date: Fri, 7 Sep 2001 11:42:05 -0500 (CDT)
I guess we can finish the discution about diferent definitions for lexical
scoping. Lua 4.1 will meet all of them. We have just finished a first
implementation of unrestricted lexical scoping.
Among other niceties, it will be very easy to declare recursive local
functions:
local fact
function fact (n) ... end
Any `fact' inside the function body will bind to the local `fact', and will
use the current value at the time of the invocation (not a previously frozen
value).
-- Roberto