[REBOL] Re: Expression evaluator (an example of parsing blocks)
From: g:santilli:tiscalinet:it at: 21-Oct-2000 13:46
Hello Rishi!
On 20-Ott-00, you wrote:
RO> I like the fact that rebol doesn't support operator
RO> precedence. It is so much easier when things are being
RO> evaluated from left to right. No need to remember a table and
RO> it is easy to work with without parenthesis. just remember
RO> one concept...left->right
How do you write A * B - C * D in REBOL without using parens? You
need to use parens or use the notation:
subtract multiply a b multiply c d
which I prefer but might be less readable for people not used to
functional languages.
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/