http://svn.pugscode.org/pugs/src/perl6/Perl-6.0.0-STD.pm
Questions and feedback welcome, but please don't follow up to this
message--start a new thread for a new topic. Bear in mind that
this is completely untested code, still fairly buggy and incomplete.
Not even pugs can parse it (yet). Nevertheless, I think it will help
ground some of the discussion here to have a real grammar to look at,
written in something close to our favorite language. :)
If you use vim, the perl6.vim in pugs/util directory will do a semi-decent
job of hilighting. Feel free to patch perl6.vim where it doesn't.
If you want to work on some part of the grammar, that's fine, but
either update frequently with svn or let me know which parts I should
leave alone while you work on them.
Larry
pmichaud++
fglock++
putter++
audreyt++
Their parsers actually work, unlike mine. :)
Larry
Note: After some typo fixes and minor workarounds, Pugs now parses it
just fine -- the task now is how to run it, and run it _fast_, before
we make it part of sanity. :-)
Cheers,
Audrey