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).
Permalink for comment 545951
To read all comments associated with this story, please click here.
REBOL
by Kaj-de-Vos on Thu 20th Dec 2012 12:04 UTC in reply to "REBOL"
Kaj-de-Vos
Member since:
2010-06-09

My "The C Programming Language, Second Edition" falls open at page 53, where the precedence table of operators is. When I program in C, I often need to refer to it, because it's too complex to remember. Much C code acknowledges that by not even relying on precedence, but littering expressions with parentheses to make them unambiguous.

This problem doesn't exist in REBOL and Red, because they have only two simple precedence rules:

- Operators evaluate from left to right.
- Infix operators take precedence over prefix functions.

If you want * to take precedence over +, you can simply write

1 + (2 * 3)

However, as a REBOL programmer you quickly get used to writing it as

2 * 3 + 1

Reply Parent Score: 3