On Mon, Mar 31, 2008 at 10:23:45AM +0200, Moritz Lenz wrote:
> John M. Dlugosz wrote:
> > I understand the most official grammar is being developed there.
> 
> Not quite. The "official" grammar is in the pugs repo in src/perl6/, but
> it can't really run on anything yet.

This is correct -- the "official" grammar (STD.pm) is in pugs.
However, Rakudo's grammar follows STD.pm as closely as it can and
is reasonably close for most things.  We'd definitely be interested
to know about any places it's falling short.

> > Is there a grammar-checker tool that will help me to validate 
> > proposed Perl 6 code fragments, even if I can't execute it yet?
> 
> Not yet, but we hope to build one soon.

OTOH, Rakudo can be used to check syntax (at least as much as
it knows about) by using the --target=parse option.

    $ parrot perl6.pbc --target=parse [file]

And we'd be really happy to try out any code fragments you may
have and see if we can get them to parse and execute.  We like
it when we can get something new to work.  :-)  For example, 
the infix // operator and @*ARGS were added to Rakudo in direct 
response to Aaron Trevena wanting to get the Towers of Hanoi 
example [1] running.

Specific questions or problems with Rakudo should probably
go to [EMAIL PROTECTED], or find a Rakudo developer on
#parrot or #perl6.  And bug reports can be filed at
<[EMAIL PROTECTED]>.

Thanks!

Pm

[1]  http://www.perlfoundation.org/perl6/index.cgi?tower_of_hanoi

Reply via email to