[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Assigning upvalues to closures
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 11 Jun 2009 08:36:05 -0300
> How, precisely, does Lua determine which upvalues to assign to each
> closure? Are upvalue references simply propagated up through nested
> functions?
Read "The implementation of Lua 5.0" at
http://www.jucs.org/jucs_11_7/the_implementation_of_lua
http://www.tecgraf.puc-rio.br/~lhf/ftp/doc/jucs05.pdf
http://www.inf.puc-rio.br/~roberto/talks/lua5-imp.pdf