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

[REBOL] Re: The evaluation semantics

From: behrangsa:gma:il at: 5-Sep-2005 10:49

Hi all, Thanks for all the responses. The main reason I asked this question is that in the REBOL document it's written that "In REBOL there are no special operator precedence rules for evaluating blocks" and as said earlier "The values and words of a block are always evaluated from first to last..." But it turns out that this is not true all the time (or am I still missing something?) So I thought it would be better to update these portions of the document. - Behi On 9/4/05, Ladislav Mecir <[lmecir--mbox--vol--cz]> wrote:
> Volker Nitsch napsal(a): > > >To me the number of exceptions is quite low: > >Rebol looks at the next two values at the same time. > >If you have a value followed by an operator, > >it is evaluated first. If it is followed by another value+operator, > >these are evaluated left to right. > >Else it uses the next value, as we are used too. > > > > > The trouble is, that this description is unreadable for beginners and it > cannot be easily amended to reflect all exceptional cases. > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- Behrang Saeedzadeh http://www.jroller.com/page/behrangsa