precedences vs. hierarchy

Andreas Schramm <bassobajo@gmail.com>
Mon, 6 Jun 2016 09:08:56 +0200

          From comp.compilers

Related articles
precedences vs. hierarchy bassobajo@gmail.com (Andreas Schramm) (2016-06-06)
Re: precedences vs. hierarchy mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2016-06-06)
Re: precedences vs. hierarchy gneuner2@comcast.net (George Neuner) (2016-06-06)
Re: precedences vs. hierarchy federation2005@netzero.com (2016-06-06)
precedences vs. hierarchy slkpg4@gmail.com (SLK Mail) (2016-06-07)
Re: precedences vs. hierarchy 545-066-4921@kylheku.com (Kaz Kylheku) (2016-06-07)
Re: precedences vs. hierarchy mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2016-06-07)
[2 later articles]
| List of all articles for this month |
From: Andreas Schramm <bassobajo@gmail.com>
Newsgroups: comp.compilers
Date: Mon, 6 Jun 2016 09:08:56 +0200
Organization: Compilers Central
Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="19132"; mail-complaints-to="abuse@iecc.com"
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,
Andreas



Post a followup to this message

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