Re: Apoc 5 questions/comments

2002-06-08 Thread Damian Conway
Trey Harris wrote: > I guess this is as good an opportunity as any to be sure I've got what's > going on. So, here's a first, simple, addmitedly broken hack at a simple > parser for xml-ish start tags and empty entities: > > rule lt { \< } > rule gt { \> } > rule identifier { > # I don't kn

Re: Apoc 5 questions/comments

2002-06-08 Thread Damian Conway
Dave Storrs yiked: > Yikes. Ok, I obviously badly misunderstood that. I'll go back > and reread it. So, can you provide an example of a "pattern nested > within a closure", since I obviously didn't understand? Sure: m/ if { /? ::: / and print $0.{comment} } / The C? ::: />

Re: Apoc 5 questions/comments

2002-06-08 Thread Larry Wall
On Fri, 7 Jun 2002, Peschko, Edward wrote: : Let me get this straight. the grammar of Perl is reprogrammable, : and expressed in perl6. And a script is parsed using this grammar, : on the fly, hence portions of scripts could have different grammars : than other parts. Where have you been for the