Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1707

precedences vs. hierarchy

From Andreas Schramm <bassobajo@gmail.com>
Newsgroups comp.compilers
Subject precedences vs. hierarchy
Date 2016-06-06 09:08 +0200
Organization Compilers Central
Message-ID <16-06-001@comp.compilers> (permalink)

Show all headers | View raw


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

Back to comp.compilers | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

precedences vs. hierarchy Andreas Schramm <bassobajo@gmail.com> - 2016-06-06 09:08 +0200
  Re: precedences vs. hierarchy "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2016-06-06 17:08 +0200
    Re: precedences vs. hierarchy Kaz Kylheku <545-066-4921@kylheku.com> - 2016-06-07 15:35 +0000
      Re: precedences vs. hierarchy "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2016-06-07 22:53 +0200
      Re: precedences vs. hierarchy anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-06-08 09:48 +0000
  Re: precedences vs. hierarchy George Neuner <gneuner2@comcast.net> - 2016-06-06 12:35 -0400
  Re: precedences vs. hierarchy federation2005@netzero.com - 2016-06-06 14:01 -0700
    Example: The Full Syntax Of Prolog (Re: precedences vs. hierarchy) rockbrentwood@gmail.com - 2016-08-24 15:45 -0700

csiph-web