* Michael Mathews <[EMAIL PROTECTED]> [2006-06-08 13:15]:
> This is the smartest suggestion I've yet seen on the subject,
> but, not being all *that* familiar with Perl6 Grammars (aren't
> they something like contextually-smart regexes?), can anyone
> give an example of Perl 6 code that uses grammars and can
> express some wiki-formatting?

Not me, at the time of writing. :-) I’ve just read the documents:


It doesn’t take more than that to see that P6 Grammars will blow
any existing way to write parsers clear out of the water, though.

*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};

Reply via email to