Linked by Kaj-de-Vos on Thu 20th Dec 2012 00:22 UTC
Syllable, AtheOS As the Syllable project predicted many years ago, version 3 of the REBOL programming language has finally been open sourced, under the Apache 2 licence (screenshot on Syllable Desktop). Also, the alpha version of the high-level Red programming language, supporting Syllable Desktop, has been released, by now in version 0.3.1 (screenshot, demo program, video at the Science Park in Amsterdam).
Thread beginning with comment 546053
To view parent comment, click here.
To read all comments associated with this story, please click here.
by renox on Fri 21st Dec 2012 10:30 UTC in reply to "REBOL"
Member since:

So your justification that Rebol has a strange behaviour because C has also a strange (different) behaviour??

Both are wrong IMHO: the best behaviour is: associativity as in math for + - * / and for all the other operators Rebol behaviour.

Reply Parent Score: 3

by Kaj-de-Vos on Fri 21st Dec 2012 13:41 in reply to "REBOL"
Kaj-de-Vos Member since:

That's an interesting idea, which would indeed fit best with common people's experience. The nice thing about REBOL is that it's a meta language: you have control over how the language is evaluated. REBOL makes it easy to write an expression evaluator that would use the rules you stated. I would indeed implement such an evaluator if I would allow users to enter their own expressions, for example in a calculator application.

Reply Parent Score: 1

by RobG on Fri 21st Dec 2012 14:27 in reply to "REBOL"
RobG Member since:

I absolutely disagree. There are 2 choices to my mind:

1. Use standard precedences for arithmetic, comparison and logic operators as defined in common mathematical usage.

2. Have everything use standard precedences.

C's implementation is actually flawed - Ritchie himself acknowledges so (, so blindly copying that seems the wrong approach.

Reply Parent Score: 2

by henrikmk on Fri 21st Dec 2012 15:00 in reply to "REBOL"
henrikmk Member since:

From the horses' mouth, so to speak, on math precedence in REBOL:

Reply Parent Score: 2

by satsujinka on Fri 21st Dec 2012 20:02 in reply to "REBOL"
satsujinka Member since:

Your link's dead, but you can get to it here:

The only issue I can find in the document is that boolean and bitwise operators have a somewhat weird relationship (boolean comes before bitwise.) The example being:

the second set of parenthesis are required.

Reply Parent Score: 2