lua-users home
lua-l archive

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


On Sun, Dec 9, 2012 at 12:34 PM, spir <denis.spir@gmail.com> wrote:
> On 09/12/2012 16:35, Jay Carlson wrote:
>>
>> Associativity does not specify order of evaluation, just the implicit
>> parentheses.
>
>
> How can one right-associate by first left-computing? An example?
>

i believe that at least two people in this thread are confusing
grammar and evaluation

the associativity happens in parse time. you can then arrange the
calls so that, e.g., a multiary function evaluates parameters in
parallel, left to right, random order, etc.