Re: Learning to Grok Rakudo Perl6/Grammar.pm (was: unexpected failure with trailing white space in use)

2010-07-13 Thread Patrick R. Michaud
On Mon, Jul 12, 2010 at 09:26:15PM -0400, Todd Olson wrote: > Question: Can Rakudo show its steps in applying the Perl6 grammer >to a Perl6 program similar to "use re 'debug'" in Perl5? You can add a subrule somewhere in the grammar. When the grammar engine hits that subrule, it ena

Re: Learning to Grok Rakudo Perl6/Grammar.pm (was: unexpected failure with trailing white space in use)

2010-07-12 Thread Stefan O'Rear
On Mon, Jul 12, 2010 at 09:26:15PM -0400, Todd Olson wrote: > Question: Can Rakudo show its steps in applying the Perl6 grammer >to a Perl6 program similar to "use re 'debug'" in Perl5? perl6 --parsetrace -sorear signature.asc Description: Digital signature

Learning to Grok Rakudo Perl6/Grammar.pm (was: unexpected failure with trailing white space in use)

2010-07-12 Thread Todd Olson
Question: Can Rakudo show its steps in applying the Perl6 grammer to a Perl6 program similar to "use re 'debug'" in Perl5? Discussion: I found the 'use v6 ;' bug to be a tantalizing invitation to try to understand part of Rakudo's Perl6/Grammar.pm. I was/am del

Re: unexpected failure with trailing white space in use

2010-07-11 Thread Patrick R. Michaud
On Sun, Jul 11, 2010 at 02:17:30PM -0400, Todd Olson wrote: > #!/path/to/perl6 > use v6 ; > - - - - > > failed with this output > [...] Now fixed in bb6df24, thanks. Pm

Re: unexpected failure with trailing white space in use

2010-07-11 Thread Todd Olson
This occurred with $ perl6 -v This is Rakudo Perl 6, version 2010.06-219-g7579f7a Copyright 2008-2010, The Perl Foundation > - - - - > ===SORRY!=== > Confused at line 2, near "use v6 ;\n" > - - - - Regards, Todd Olson Delete & Prev | Delete & Next

unexpected failure with trailing white space in use

2010-07-11 Thread Todd Olson
Hi I was surprise that this program (note the space between the v6 and the ;) - - - - #!/path/to/perl6 use v6 ; - - - - failed with this output - - - - ===SORRY!=== Confused at line 2, near "use v6 ;\n" - - - - Is this expected behavior? Regards, Todd Olson