From ihaka@stat.auckland.ac.nz  Mon Aug 17 21:32:43 1998
From: ihaka@stat.auckland.ac.nz (Ross Ihaka)
Date: Tue, 18 Aug 1998 08:32:43 +1200 (NZST)
Subject: Grammar Changes
Message-ID: <199808172032.IAA17509@stat1.stat.auckland.ac.nz>

I would like to make a couple of small changes to the R grammar.
At present, operators like ~, ==, !=, <, <=, >, >= are declared
to be non-associative.  This means that things like

	a < b <= c

produce a "syntax error" message when typed.

I would like to change the grammar so that these operators are
left-associative.  I want to make this change so that mathematical
annotation in the graphics will work a little better.

Interestingly, these operators are left-associative in S, so this
would be a move toward compatibility.

Does anyone have any strong thoughts on this?

	Ross
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Grammar Changes
Ross Ihaka