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

[REBOL] Re: Please help me out

From: lmecir:volny:cz at: 24-Aug-2010 15:18

Dne 24.8.2010 14:50, Gérard Côté napsal(a): ...snip...
> In fact if I apply the recomendation from Ladislav, using compute instead of > eval > could have made the real sense easier to grasp from the beginning - at least > to me !
The terminological problem of the proper usage of the word "evaluation" is quite deep. In my contribution I cited some documentation sources. There is an alternative, as I recently mentioned in CureCode #1641. In my opinion, it makes sense to use the word "evaluation", "evaluate", etc. for expression evaluation. When used this way, we obtain: 1) In REBOL expressions, blocks evaluate to themselves. 2) REBOL blocks supplied as arguments to interpreting functions (like the DO function) are "interpreted" by the respective functions. Note, that the DO function is not the only interpreter function there is. As an example, the PARSE function interprets REBOL blocks as matching rules, using the Parse dialect. You can easily define your own block-interpreting functions, creating new REBOL dialects as often as you like. -Ladislav