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

[REBOL] Re: Parsing comment

From: lmecir:mbox:vol:cz at: 25-Sep-2002 15:58

Hi, I don't understand your post. I am pretty sure, that even print (a + b) has no meaning in Rebol without a context supplying additional info. Example of an atypical meaning: use [print a] [ print: func ['x] [reduce ['print to paren! x]] a: func ['x 'y] [compose [a (x) (y)]] print (a + b) ] ; == [print (a + b)] Cheers -L ----- Original Message ----- Sent: Wednesday, September 25, 2002 5:23 PM Subject: [REBOL] Re: Parsing comment
> Also, the whole idea is that REBOL is dynamic. It couldn't be if > there was punctuation. I.e.: > > print a + b > > DOES NOT have a meaning, unless evaluated under some rules and > some context. When you use syntax to give meaning (as opposed to > context), you are imposing artificial limits. Whether they are > useful or not, depends. I think that the point of REBOL is > simplifying, also by removing some artificial limits. > > Of course, IMHO.
print a + b would have meaning if evauation order was right to left or parentheses were used print (a+b)