precedences vs. hierarchy

Andreas Schramm <>
Mon, 6 Jun 2016 09:08:56 +0200

          From comp.compilers

Related articles
precedences vs. hierarchy (Andreas Schramm) (2016-06-06)
Re: precedences vs. hierarchy (Dmitry A. Kazakov) (2016-06-06)
Re: precedences vs. hierarchy (George Neuner) (2016-06-06)
Re: precedences vs. hierarchy (2016-06-06)
precedences vs. hierarchy (SLK Mail) (2016-06-07)
Re: precedences vs. hierarchy (Kaz Kylheku) (2016-06-07)
Re: precedences vs. hierarchy (Dmitry A. Kazakov) (2016-06-07)
[2 later articles]
| List of all articles for this month |

From: Andreas Schramm <>
Newsgroups: comp.compilers
Date: Mon, 6 Jun 2016 09:08:56 +0200
Organization: Compilers Central
Injection-Info:; posting-host=""; logging-data="19132"; mail-complaints-to=""
Keywords: parse, question
Posted-Date: 06 Jun 2016 08:35:43 EDT

Hi all,

for specifying the syntax of operator expressions
with multiple levels of precedences,
there are essentially two approaches:
(i) by precedence and associativity declarations, and
(ii) by a hierarchy of non-terminals.
Both approaches have been known and in use for decades.

My question is:
Are there trends in the public opinion
in favor of one of them over the other?
Or are they equally respected approaches?

Best regards,

Post a followup to this message

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