Perl 6 Grammars and Regular Expressions
An anonymous reader writes "Perl 6 is finally coming within reach. This article gives you a tour of the grammars and regular expressions of the Perl 6 language, comparing them with the currently available Parse::RecDescent module for Perl 5. Find out what will be new with Perl 6 regular expressions and how to make use of the new, powerful incarnation of the Perl scripting language."
Can we PLEASE just talk about Perl? 5000+ posts about why ruby and python are better from people who have never programmed something important get a little old...
The regular-expression syntax is far from being the only reason for Perl's reputation as a write-only language.
As reported, here, there's also the matter of the ridiculously large and cryptic collection of global and internal variables ($@_$%&|`). And then you've got optional punctuation (including such essentials as quotes for string literals and parentheses for function calls) and all the freakishly bizarre syntactic constructs for referencing and dereferencing objects (and people think "*" and "&" in C are confusing -- sheesh!).
I could go on for hours listing the things I found to hate about Perl when I had to use it, but now I've got some PHP code to get back to.
David Gould
main(i){putchar(340056100>>(i-1)*5&31|!!(i<6)<< 6)&&main(++i);}