[REBOL] Re: 'compose on 'parse rules
From: rotenca:telvia:it at: 14-Jan-2002 2:30
> The most annoying problem with Rebol at the moment, is that 'compose on
> 'parse rule actions, composes the action parts of the rules. It's quite
> tricky arranging script to avoid this problem. I use some thing like:
> compose/deep [
> make paren! [
> ; rule action stuff in here.
> Any one got any better ideas?
If you do not need compose/deep:
compose [thru (var) [(print "found")]]
reduce ['thru var [(print "found")]]
To put paren in block is a little slower but fix a strange bug in parse when
other rules follows the paren!
But I have the impression that not always to use or not to use the block
around the paren! gives the same result (bug excluded).