[REBOL] Re: Parse limitation ?
From: maximo:meteorstudios at: 8-Oct-2003 12:29
> -----Original Message-----
> From: Gabriele Santilli [mailto:[g--santilli--tiscalinet--it]]
> 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:
I have no idea How I would approach this!
this could be a nice tutorial for us "less gifted" parsers.