Aldo Calpini wrote: > > I'm preparing a talk about Perl6 for the Italian Perl Workshop, and I > would like to have a slide comparing a BNF (yacc/bison) grammar to a > Perl6 one, to show how powerful in parsing/lexing > Perl6 regexen are. > > so I ask your assistance in helping me putting up a simple, yet > impressive enough, sample.
Since you're doing slides, I don't know how useful this will be, but I noticed the other day that Damian has released Perl6::Rules. http://search.cpan.org/~dconway/Perl6-Rules-0.03/Rules.pm It's the long promised implementation of Perl 6 regex syntax in Perl 5. It implements most, but not all of Perl 6 regex syntax due to limitations of Perl 5. -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com [EMAIL PROTECTED]