[REBOL] Re: Parse: Restaring rule evaluation
From: lmecir:mbox:vol:cz at: 17-Nov-2001 14:17
> So, no restart happened (exactly as I expected). At the same time, there
> no reason why RULE3 or any other rule should be used, when RULE2 was
Why not? If there is more input and parse satisfied one rule it "starts"
parse the rest of the input with the actual rule set. But it might continue
evaluate the rest of the rule set with the new input... don't know if this
yield in a speed improvement but either choice could be selected. Why go for
starting over? Robert
I should have said it more precisely: PARSE doesn't restart the rule to find
another possibility that could "consume" more input. This is the way how
PARSE is implemented.