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

[REBOL] Re: Parse and and recursion local variables?

From: petr:krenzelok:trz:cz at: 19-Mar-2007 22:54

> Anyway, dreaming of Petr's TO and THRU, what immediatly springs to mind > then are TO/FIRST [RULE-1 | RULE-2 | ... | RULE-N] and THRU/FIRST > [RULE-1 | RULE-2 | ... | RULE-N] working in the reg-ex way. Looks to > me like a natural extension of the parse dialect without breaking > existing PARSE rules. >
Christian, actually what I had in mind was "the index" kind of thing applying FIRST occurance of rule1 | rule 2 | etc. IIRC, when I first proposed addition of above, I called new word inside parse dialect 'FIRST. That enhancement proposal was on-line at Robert's or Nenad's site, don't remember. Or look here: Petr