[REBOL] Re: Resusing 'parse rules
From: g:santilli:tiscalinet:it at: 22-Dec-2000 13:40
Andrew Martin wrote:
[...]
> [pattern (action)]
> In some cases I'd like to reuse the pattern, and change the action (for
> example generating HTML or XML, or say, postscript all from the one eText),
> in other cases keeping the same pattern and action (different projects). If
What about creating a function that generates the rule? You can
then parametrize it if needed and add a refinement to change the
action from the default one...
> BTW, have a Merry Christmas and a Happy New Year.
Merry Christmas and a Happy New Year everyone!
Regards,
Gabriele.
--
Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer
Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/