[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: We need a short, official name for "list of values"
- From: alestane@...
- Date: Sat, 26 Feb 2011 03:01:29 +0000 (UTC)
the "1, 2, 3" is _syntactically_ an "explist" - that terminology
appears at lots of places in the manual - but what is the term for the
corresponding thing in the _semantics_? Let me suppose, for a moment,
that it is "vlist" (for "list of values"); then functions always
receive vlists and returns vlists, and the function "id" above returns
exactly the same vlist that it received, even if it had length 0...
I'm perfectly happy to call it a "stack"; it typically lives on the Lua state stack, either being passed or returned, and it also constitutes values stacked up into a pile, rather like a stack of cards.
N.