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

r31660 -[S32] revert C to POSIX integer seconds; don't try to do C's job

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-13 03:36:39 +0200 (Tue, 13 Jul 2010) New Revision: 31660 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: [S32] revert C to POSIX integer seconds; don't try to do C's job Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod

r31659 -[S02] s/Uint/uint/ for speculative native role

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-13 03:36:05 +0200 (Tue, 13 Jul 2010) New Revision: 31659 Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] s/Uint/uint/ for speculative native role Modified: docs/Perl6/Spec/S02-bits.pod === --- docs/P

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

r31657 -add 2-bits/col blob example

2010-07-12 Thread pugs-commits
Author: Darren_Duncan Date: 2010-07-13 02:58:57 +0200 (Tue, 13 Jul 2010) New Revision: 31657 Modified: docs/Perl6/Spec/S02-bits.pod Log: add 2-bits/col blob example Modified: docs/Perl6/Spec/S02-bits.pod === --- docs/Perl6/Spec/S0

r31656 -[S12] define more forced actions on enum values

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-13 02:55:37 +0200 (Tue, 13 Jul 2010) New Revision: 31656 Modified: docs/Perl6/Spec/S12-objects.pod Log: [S12] define more forced actions on enum values Modified: docs/Perl6/Spec/S12-objects.pod === ---

r31655 -[S02] revise blob literals a bit

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-13 02:44:10 +0200 (Tue, 13 Jul 2010) New Revision: 31655 Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] revise blob literals a bit Modified: docs/Perl6/Spec/S02-bits.pod === --- docs/Perl6/Spec/S02-

r31654 -[S06] defined callsame/nextsame in terms of callwith/nextwith and callframe

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-13 02:13:42 +0200 (Tue, 13 Jul 2010) New Revision: 31654 Modified: docs/Perl6/Spec/S06-routines.pod Log: [S06] defined callsame/nextsame in terms of callwith/nextwith and callframe Modified: docs/Perl6/Spec/S06-routines.pod =

r31652 -[Temporal] time is now a pseudo-constant like now, rand, etc

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-13 02:06:01 +0200 (Tue, 13 Jul 2010) New Revision: 31652 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: [Temporal] time is now a pseudo-constant like now, rand, etc Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod

r31651 -[S13] try to make multisig semantics slightly more generic so sigs can do better pattern matching

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-13 01:59:37 +0200 (Tue, 13 Jul 2010) New Revision: 31651 Modified: docs/Perl6/Spec/S13-overloading.pod Log: [S13] try to make multisig semantics slightly more generic so sigs can do better pattern matching Modified: docs/Perl6/Spec/S13-overloading.pod

r31650 -[S06] add .args to what a context can return

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-13 01:51:27 +0200 (Tue, 13 Jul 2010) New Revision: 31650 Modified: docs/Perl6/Spec/S06-routines.pod Log: [S06] add .args to what a context can return Modified: docs/Perl6/Spec/S06-routines.pod === ---

r31649 -[S02] typo for jnthn++

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-13 01:50:39 +0200 (Tue, 13 Jul 2010) New Revision: 31649 Modified: docs/Perl6/Spec/S02-bits.pod Log: [S02] typo for jnthn++ Modified: docs/Perl6/Spec/S02-bits.pod === --- docs/Perl6/Spec/S02-bits.pod

r31645 -[S04] try to nail down CATCH exit semantics a bit more water-tightly

2010-07-12 Thread pugs-commits
Author: lwall Date: 2010-07-12 21:52:08 +0200 (Mon, 12 Jul 2010) New Revision: 31645 Modified: docs/Perl6/Spec/S04-control.pod Log: [S04] try to nail down CATCH exit semantics a bit more water-tightly Modified: docs/Perl6/Spec/S04-control.pod ==

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

Re: r31630 -S02 : add initial formats for Blob (or Buf) literals

2010-07-12 Thread yary
On Sun, Jul 11, 2010 at 6:11 PM, Darren Duncan wrote: ... > > There is also still the need to cover something that looks like a list of > integers, for the general case of a Blob/Buf literal, and yet it should have > an appearance more like that of a scalar/number/string/etc than of an > array/etc

Re: r31627 -[S32/Temporal] Changed to use a different way of specifying time zones, which is hopefully saner than my last proposal.

2010-07-12 Thread Carl Mäsak
Scott (>): > Perhaps it's just me, but a boolean value to specify the direction of > conversion seems wrong-ish. It's not just you. :) // Carl

[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

Re: r31627 -[S32/Temporal] Changed to use a different way of specifying time zones, which is hopefully saner than my last proposal.

2010-07-12 Thread Jonathan Scott Duff
On Sun, Jul 11, 2010 at 12:56 PM, wrote: > Author: Kodi > Date: 2010-07-11 19:56:33 +0200 (Sun, 11 Jul 2010) > New Revision: 31627 > > Modified: > docs/Perl6/Spec/S32-setting-library/Temporal.pod > Log: > [S32/Temporal] Changed to use a different way of specifying time zones, > which is hopeful

[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