[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Do you think Lua is lexically scoped?
- From: ramsdell@... (John D. Ramsdell)
- Date: 05 Sep 2001 07:06:25 -0400
> Fortunately, the Lua team seem to have got the message we want them
> to get: allow function closures with assignable free variables,
> accessible with the same syntax as local and global variables.
Actually, Roberto gave us hints he understood the situation a while
ago. What we learned recently is that a concerted effort is being
made to rectify the situation. I truly believe that Lua without
upvalues, and with scoping rules that give nested functions access to
variables in their enclosing functions, would be a great improvement.
Make no mistake though, I too would also like to see a version of Lua
in which all variables are mutable.