Grammar Changes

Ross Ihaka
Tue, 18 Aug 1998 08:32:43 +1200 (NZST)

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?

r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: