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
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
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
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
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
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