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

[REBOL] Re: postfix? -> prefix

From: rryost:home at: 18-Jul-2001 13:49

Anton, you're right! I never thought of trying prefix notation! Did earlier REBOL/core's support that? Your observation that prefix means "stack-based" seems to clash with the Forth approach in which an operator can be applied to one or more results of preceding operations that were "left on the stack". With prefix syntax the operator signals an intent to operate on the result((s) of one or more future operations. I agree that "stack-based" isn't a clear concept, but it's definitely not "Forth-like". I may be misusing terms, but prefix operator is more like a function, which is followed by arguments. Russell [rryost--home--com]