Re: Grammar with low-precedence postfix operator?

Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Mon, 09 Feb 2015 08:05:13 +0100

          From comp.compilers

Related articles
Grammar with low-precedence postfix operator? rljacobson@gmail.com (Robert Jacobson) (2015-02-05)
Re: Grammar with low-precedence postfix operator? kaz@kylheku.com (Kaz Kylheku) (2015-02-05)
Re: Grammar with low-precedence postfix operator? anton@mips.complang.tuwien.ac.at (2015-02-07)
Re: Grammar with low-precedence postfix operator? rljacobson@gmail.com (Robert Jacobson) (2015-02-07)
Re: Grammar with low-precedence postfix operator? monnier@iro.umontreal.ca (Stefan Monnier) (2015-02-08)
Re: Grammar with low-precedence postfix operator? kaz@kylheku.com (Kaz Kylheku) (2015-02-09)
Re: Grammar with low-precedence postfix operator? DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2015-02-09)
Re: Grammar with low-precedence postfix operator? jgk@panix.com (2015-02-10)
Re: Grammar with low-precedence postfix operator? kaz@kylheku.com (Kaz Kylheku) (2015-02-11)
Re: Grammar with low-precedence postfix operator? rljacobson@gmail.com (Robert Jacobson) (2015-02-21)
| List of all articles for this month |

From: Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Newsgroups: comp.compilers
Date: Mon, 09 Feb 2015 08:05:13 +0100
Organization: Compilers Central
References: 15-02-006 15-02-018 15-02-020
Keywords: parse, semantics
Posted-Date: 10 Feb 2015 01:50:09 EST

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



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.