[REBOL] Magic parsing => was {Re: Re: template driven development? Re: Rebol Ser
From: jason::cunliffe::verizon::net at: 9-Oct-2002 12:56
Andrew Martin wrote:
> Be aware when using Magic, that the Rebol expression between the
> <rebol></rebol> tags must be complete! This can be seen in the 'parse code
> for magic, quoted below:
>
> until [
> either found? find m-page "<rebol>" [
> parse m-page [ copy m-code to "<rebol>" m-mark: (
> if not none? m-code [ prin m-code ]
> m-page: copy m-mark
> parse m-page [ thru "<rebol>" copy m-code thru "</rebol>" m-mark: (
> if error? m-err: try [
> do m-code
> ] [ m-error (mold disarm m-err) ]
> m-page: copy m-mark
> ) ]
> ) ]
> ] [
> prin m-page
> true
> ]
> ]
Andrew, I don't quite get what you are saying...
Do you mean poor/simple error checking and response behavior, or something
deeper & more serious?
thanks
./Jason