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

[REBOL] Re: Parse: Restaring rule evaluation

From: robert:muench:robertmuench at: 17-Nov-2001 12:21

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of > Ladislav Mecir > Sent: Friday, November 16, 2001 3:29 PM > To: [rebol-list--rebol--com] > Subject: [REBOL] Re: Parse: Restaring rule evaluation > So, no restart happened (exactly as I expected). At the same time, there is > no reason why RULE3 or any other rule should be used, when RULE2 was > satisfied.
Why not? If there is more input and parse satisfied one rule it "starts" over to parse the rest of the input with the actual rule set. But it might continue to evaluate the rest of the rule set with the new input... don't know if this would yield in a speed improvement but either choice could be selected. Why go for starting over? Robert