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

failure with unspace after use

2010-07-12 Thread Todd Olson
Hi - - - - #!/path/to/perl6 use v6\ ; - - - - fails with - - - - ===SORRY!=== Confused at line 2, near "use v6\\ ;\n" - - - - in Rakudo Perl 6, version 2010.06-225-gbb6df24 Is this expected behavior? Regards, Todd Olson

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: [perl #76442] [BUG} say ?1..2 # prints ones indefinitively

2010-07-12 Thread Patrick R. Michaud
On Mon, Jul 12, 2010 at 12:59:37PM +0200, Jonathan Worthington wrote: > Aaron Sherman wrote: > >On Sun, Jul 11, 2010 at 9:46 PM, Patrick R. Michaud > >wrote: > >>What should the result of True..2 be? > > > >Isn't it a question of what the MMD takes as the more significant argument? > >I would thin

[perl #68112] tests available

2010-07-12 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S32-list/sort.t commit dda2c2b53e5d047cff3110138f5982f3e8b2270d Author: bbkr Date: Mon Jul 12 15:35:39 2010 + [t/spec] tests for RT #68112 sort doesnt accept &rand (or zero-arg subs in genera

[perl #68112] tests available

2010-07-12 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S32-list/sort.t commit 8a55371caf69c520e9c5272fa84b24d6a4f33682 Author: bbkr Date: Mon Jul 12 15:16:59 2010 + [t/spec] tests for RT #68112 sort doesnt accept &rand (or zero-arg subs in genera

[perl #67768] tests available

2010-07-12 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S14-roles/basic.t commit d848f22aab4c9d42abb32207dcbf1d4a39dc7860 Author: bbkr Date: Mon Jul 12 15:01:12 2010 + [t/spec] tests for RT #67768 Cannot declare a role with a name already assigned

[perl #67010] tests available

2010-07-12 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S32-list/sort.t commit f9c6673e5b8c50bdc53a1defa548857d03a79a8c Author: bbkr Date: Mon Jul 12 14:25:46 2010 + [t/spec] tests for RT #67010 Error with glibc backtrace dump when cmp used wrong

[perl #64262] the CATCH block catching its own exception recursively forever

2010-07-12 Thread jn...@jnthn.net via RT
On Tue Jun 30 12:33:03 2009, KyleHa wrote: > There's now a test for this in S04-statements/try.t: > > { > my $catches = 0; > try { > try { > die 'catch!'; > CATCH { > die 'caught' if ! $catches++; > } > } > } >

Re: [perl #76442] [BUG} say ?1..2 # prints ones indefinitively

2010-07-12 Thread Carl Mäsak
cognominal stef (>): > Currently the Range creator method does not coerce its parameters. > I think Range should be a role so as to impose some constraint. > I think  Bool..2  should fail. For what it's worth, I disagree. I think Bool..2 should be equivalent to 0..2 (since Bool is a type object, w

[perl #76466] [BUG] Null PMC access when referring to a lexical variable in a scope that has not been run yet in Rakudo

2010-07-12 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76466] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76466 > rakudo: sub foo { my $y; our sub bar { say $y } }; bar rakudo 7579f7: ( no output )

Re: [perl #76442] [BUG} say ?1..2 # prints ones indefinitively

2010-07-12 Thread Stéphane Payrard
You On Mon, Jul 12, 2010 at 12:11 PM, Aaron Sherman via RT wrote: > On Sun, Jul 11, 2010 at 9:46 PM, Patrick R. Michaud wrote: > >> On Sat, Jul 10, 2010 at 04:44:40AM -0700, Stephane Payrard wrote: >> > # both statement below print 1 ad nauseam. >> > >> > say ?1..2 >> > say (?1)..2 >> >> What sho

Re: [perl #76442] [BUG} say ?1..2 # prints ones indefinitively

2010-07-12 Thread Jonathan Worthington
Aaron Sherman wrote: On Sun, Jul 11, 2010 at 9:46 PM, Patrick R. Michaud wrote: On Sat, Jul 10, 2010 at 04:44:40AM -0700, Stephane Payrard wrote: # both statement below print 1 ad nauseam. say ?1..2 say (?1)..2 What should the result of True..2 be? (Note that (1,2) is probabl

[perl #76462] [BUG] Null PMC access when doing hash indexing on a hash ref in Rakudo

2010-07-12 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76462] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76462 > rakudo: my %h=('a'=>1,'b'=>2); my $h_ref=\%h; say $h_ref.{'a'} rakudo 7579f7: OUTPUT«N

Re: [perl #76442] [BUG} say ?1..2 # prints ones indefinitively

2010-07-12 Thread Aaron Sherman
On Sun, Jul 11, 2010 at 9:46 PM, Patrick R. Michaud wrote: > On Sat, Jul 10, 2010 at 04:44:40AM -0700, Stephane Payrard wrote: > > # both statement below print 1 ad nauseam. > > > > say ?1..2 > > say (?1)..2 > > What should the result of True..2 be? > > (Note that (1,2) is probably not the correct

[perl #76456] [BUG] --target=parse confused by role parameter

2010-07-12 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #76456] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76456 > $ cat A.pm role A[::T] { } $ perl6 A.pm $ perl6 --target=parse A.pm ===SORRY!=== Met