[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_concat left-associates: bug or feature?
- From: Andres Perera <andres.p@...>
- Date: Sun, 9 Dec 2012 13:20:30 -0430
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.