Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Expression evaluator (an example of parsing blocks)

From: g:santilli:tiscalinet:it at: 22-Oct-2000 12:12

Hello Larry! On 21-Ott-00, you wrote: LP> PS I suspect it can be shown that with suitable rearrangement LP> of terms and with both infix and prefix forms available, that LP> parens are not needed. Yup, but then again, why not using infix at all? If you're mixing infix and prefix notation that way, you'll get less readability than using prefix notation only. My suggestion is: use infix notation with a lot of parens if readability by the occasional reader is the priority; use prefix notation (perhaps generating it with eval/translate :) when code elegance is the priority. Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/