lua-users home
lua-l archive

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


On Sun, Apr 20, 2014 at 10:53 PM, Coda Highland <chighland@gmail.com> wrote:

> Overloading "rvalue" to mean "real value" might cause some semantic
> dissonance in those reading the code.

Yes, if I saw setrvalue() I might think it had something related to
rvalues and lvalues, not "real" numbers:
http://en.wikipedia.org/wiki/Value_(computer_science)

>From what I understand (and this has always been confusing to me) --
rvalues are values that you cannot get the address of, because the
final, computed value has not yet been stored anywhere.  I'd think of
rvalues in C; sorry I wasn't more specific