lua-users home
lua-l archive

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


> 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