[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Question about Lua history
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 25 Feb 2008 09:46:03 -0300
> This is a simple question I ask myself every time I see some Lua 4 code: why
> did it require a prefix '%' for upvalues? Was it an implementation
> constraint? A way to mark stuff that were compiled very inefficiently?
It was a way to mark that it was not accessing the real variable, but a
value frozen when the closure was created.
-- Roberto