Related articles |
---|
Preferred order of evaluation fs29@rumpelkammer.uni-mannheim.de (Nils M. Holm) (1996-09-05) |
Re: Preferred order of evaluation leichter@smarts.com (Jerry Leichter) (1996-09-06) |
Re: Preferred order of evaluation dlmoore@ix.netcom.com (David L Moore) (1996-09-07) |
Re: Preferred order of evaluation ok@cs.rmit.edu.au (1996-09-15) |
Re: Preferred order of evaluation dmoen@mks.com (1996-09-15) |
Re: Preferred order of evaluation gbcacm@ccs.neu.edu (1996-09-15) |
From: | ok@cs.rmit.edu.au (Richard A. O'Keefe) |
Newsgroups: | comp.compilers |
Date: | 15 Sep 1996 00:17:27 -0400 |
Organization: | Comp Sci, RMIT, Melbourne, Australia |
References: | 96-09-021 96-09-042 |
Keywords: | design |
Jerry Leichter <leichter@smarts.com> writes:
>Traditional mathematical notation uses left-to-right evaluation for
>operators of equal precedence. (It also only defines 3 or so levels of
>precedence - addition, multiplication, exponentation, maybe unary
>operators.)
You forgot that "<", "=", ">", and so on are _also_ "traditional
mathematical notation", constituting a fourth level. "And" and "or" are
there too. Plus a ton of other things, like outfix operators
(integral ... dx) and operators with wide right scope and narrow left
scope (sum).
--
Richard A. O'Keefe; http://www.cs.rmit.edu.au/%7Eok; RMIT Comp.Sci.
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.