bug-bash
[Top][All Lists]
Advanced

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

Re: [ast-users] Arithmetic assignment side-effects


From: Chet Ramey
Subject: Re: [ast-users] Arithmetic assignment side-effects
Date: Tue, 06 Aug 2013 14:55:24 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

On 8/6/13 6:49 AM, Janis Papanagnou wrote:

> Nonetheless right to left parsing seems the only sensible semantics in
> case of = and op= assignments.

Ummm...why is that?  Unless you mean evaluating the RHS first, without
Andreas's implicit conversion from x+=a to x=x+a?

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]