Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end From: Hans-Peter Diettrich Newsgroups: comp.compilers Subject: Re: Grammar with low-precedence postfix operator? Date: Mon, 09 Feb 2015 08:05:13 +0100 Organization: Compilers Central Lines: 12 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <15-02-022@comp.compilers> References: <15-02-006@comp.compilers> <15-02-018@comp.compilers> <15-02-020@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Trace: miucha.iecc.com 1423551009 69071 2001:470:1f07:1126:0:676f:7373:6970 (10 Feb 2015 06:50:09 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Tue, 10 Feb 2015 06:50:09 +0000 (UTC) Keywords: parse, semantics Posted-Date: 10 Feb 2015 01:50:09 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1524 Kaz Kylheku schrieb: > For instance a ^ b ++ be parsed as the exponentiation of two terms, > a and b++, not as ++ applied to the expression a ^ b, as desired. > > [Oops, looks like you're right. -John] I wonder how to apply the C operators ++ or -- to something that is not a variable (mutable item). What's the intended semantics here? DoDi