> -----Original Message-----
> From: Gabriele Santilli [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 08, 2003 11:42 AM
> To: Petr Krenzelok
> Subject: [REBOL] Re: Parse limitation ?
>
>
> I think that it is better to think of the problem in a different
> way, because it allows you to understand things much better. If
> you switch to think about grammars instead of patterns you'll find
> out that your problems get simpler, not more complicated. IMHO.
>
can you give a short example of a grammar that would extract the text from
<tag! tag content <subtag! its content?> <p> paragraph info</p>content end>
and returns a block such as:
[
tag! [
"tag content"
subtag! [
"its content?"
]
p [
"paragraph info"
]
"content end"
]
]
I have no idea How I would approach this!
this could be a nice tutorial for us "less gifted" parsers.
-MAx
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.