by DTrejo · 16y ago · 0 comments
Nick said ...
@Adam: check out http://www.flickr.com/photos/nicksieger/281055530/ and http://www.flickr.com/photos/nicksieger/281055485/. I can’t even imagine what a Perl grammar would look like
Since there's no BNF for Perl it would be hard to visualize its grammar.
http://www.python.org/doc/2.5.1/ref/grammar.txt
http://svn.pugscode.org/pugs/src/perl6/STD.pm
If you do a wc, perl6 is about 12-20 times the size of python (depending if you use lines or chars). It would be funny to see the per6 graph...
The Perl 6 grammar also includes comments and is itself written in Perl 6. A metacircular Python grammar would look different from the existing Python grammar.