[REBOL] Re: Strange parsing behavior
From: robert:muench:robertmuench at: 5-Aug-2002 14:40
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
> On Behalf Of Gabriele Santilli
> Sent: Sunday, August 04, 2002 7:44 PM
> To: Robert M. Muench
> Subject: [REBOL] Re: Strange parsing behavior
> I admit is a bit trickier, but it only requires a few changes.
Hi, than lets have a look.
> rule: [some [copy string sentence (append result string)separator]]
> sentence: [
> any [
> some sentence-chars (break-rule: none) [
> tmp: separator :tmp (break-rule: [end skip])
> | some #" "
> | end
> tmp: break-rule
Ok, I see. Using "end skip" to simulate the new 'break command is a very
good trick! Well done! BTW: IMO the | end part can be removed without
creating any problems. Robert