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

[REBOL] Re: Sameness - a pragmatic approach.

From: greggirwin:mindspring at: 12-Feb-2003 9:20

Joel et al, JN> ...but my question was "Why do we need that capability?" JN> 1) When is the last time anyone on this list used ALIAS for anything? JN> (other than demonstrating what ALIAS does ;-) JN> 2) Could that need have been served by some other mechanism already JN> in REBOL? (such as SET/PROTECT or passing a reference) Is there another mechanism you can use to create localized dialects? That's probably the main use I've thought of for ALIAS, but I haven't thought about how else you might do it. -- Gregg ; Localizing a dialect with ALIAS alias 'who "welche" alias 'where "wo" alias 'when "wann" rule: [ some [ 'who set persons [word! | block!] | 'where set place string! | 'when set time time! ] to end ] time: place: persons: none parse [ who Fred where "Your house" when 9:30 ] rule print [time place persons] time: place: persons: none parse [ welche Karl wo "Euer Haus" wann 11:30 ] rule print [time place persons]