From p.dalgaard@biostat.ku.dk  Mon Aug 17 22:32:50 1998
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 17 Aug 1998 23:32:50 +0200
Subject: Grammar Changes
In-Reply-To: Ross Ihaka's message of Tue, 18 Aug 1998 08:32:43 +1200 (NZST)
References: <199808172032.IAA17509@stat1.stat.auckland.ac.nz>
Message-ID: <x2ogtjgupp.fsf@biostat.ku.dk>

Ross Ihaka <ihaka@stat.auckland.ac.nz> writes:

> 
> 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?

Sounds harmless enough to me. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
Peter Dalgaard BSA