Re: r31972 -[S05] specify what .keys, .values and .kv do on Match objects

2010-08-12 Thread Jon Lang
How does a Match compare to a Parcel? -- Jonathan "Dataweaver" Lang

[perl #77184] [BUG] Odd "'self' not found" error when mixing a role (containing a 'my $!foo' declaration) into a class in Rakudo

2010-08-12 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #77184] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77184 > rakudo: role A { my $!foo; }; role B { my $!foo; }; class C does A does B; say 'alive';

Re: Large integers, ** and Int

2010-08-12 Thread Darren Duncan
Patrick R. Michaud wrote: On Wed, Aug 11, 2010 at 10:31:06PM -0400, Aaron Sherman wrote: My guess is that Rakudo will ultimately develop its own arbitrary-precision integer representation, rather than trying to use the BigInt that comes with Parrot. Also, IIRC, Parrot's BigInt i

r31973 -[S05] attempt to clarify wording, and add an example

2010-08-12 Thread pugs-commits
Author: moritz Date: 2010-08-12 21:23:14 +0200 (Thu, 12 Aug 2010) New Revision: 31973 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] attempt to clarify wording, and add an example Modified: docs/Perl6/Spec/S05-regex.pod === --

r31972 -[S05] specify what .keys, .values and .kv do on Match objects

2010-08-12 Thread pugs-commits
Author: moritz Date: 2010-08-12 21:10:33 +0200 (Thu, 12 Aug 2010) New Revision: 31972 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] specify what .keys, .values and .kv do on Match objects Modified: docs/Perl6/Spec/S05-regex.pod =

Re: Large integers, ** and Int

2010-08-12 Thread Patrick R. Michaud
On Wed, Aug 11, 2010 at 10:31:06PM -0400, Aaron Sherman wrote: > My guess is that Rakudo will ultimately develop its own > arbitrary-precision integer representation, rather than trying to use > the BigInt that comes with Parrot.  Also, IIRC, Parrot's BigInt > implementation only wo

Re: Buf.pm: FIFO and grammar

2010-08-12 Thread Nicholas Clark
On Thu, Aug 12, 2010 at 03:38:31PM +0200, Carl Mäsak wrote: > In fact, jnthn++ had a talk at YAPC::EU the other week where he showed > how nested signatures can be used to make hierarchical matches. A > proof-of-concept module could simply be some sugar around this already > existing functionality

Re: Buf.pm: FIFO and grammar

2010-08-12 Thread Carl Mäsak
Carl (>>), Aaron (>): >> * Grammars define a hierarchical structure that seems to be perfect >> for encoding the packing of larger pieces of data, for example when >> serializing an object structure. Could one use grammars, or something >> very much like it, as a "modern" &pack template? > > A whil

Re: Buf.pm: FIFO and grammar

2010-08-12 Thread Aaron Sherman
On Thu, Aug 12, 2010 at 5:47 AM, Carl Mäsak wrote: > Oha (>): > > > * Grammars define a hierarchical structure that seems to be perfect > for encoding the packing of larger pieces of data, for example when > serializing an object structure. Could one use grammars, or something > very much like it

Re: [perl #77178] AutoReply: Rakudo crash with Null PMC access in get_repr()

2010-08-12 Thread Alex Varyanick
Simplest way to reproduce: % perl6 -e 'class A::B { method hey { "hello world".say } }; "A::B".new.hey' Null PMC access in get_repr() in main program body at line 1 % perl6 -e 'class A { method hey { "hello world".say } }; "A".new.hey' hello world % perl6 -e 'class A::B { method hey { "hello wo

[perl #77178] Rakudo crash with Null PMC access in get_repr()

2010-08-12 Thread via RT
# New Ticket Created by Alex Varyanick # Please include the string: [perl #77178] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=77178 > # git rev-parse HEAD 69561ef449a81aee22189229e9724ea23565e6ee 13:22 < cono> rakudo: c

Re: Buf.pm: FIFO and grammar

2010-08-12 Thread Carl Mäsak
Oha (>): > after speaking with masak, i come up with some ideas about Buf > i would like to share with you, maybe you can find them usefull > > http://register.oha.it/buf.pod Just thought I'd weigh in here a bit. Oha's proposal consists of two parts, each of which is interesting in its own right:

[perl #75348] [BUG] Can't call local sub from RHS of assignment to attribute declaration in Rakudo

2010-08-12 Thread Carl Mäsak via RT
masak (>>), coke (>): > > rakudo: class A { sub b { 0x10 }; has $!c = b }; A.new > > rakudo 4c94d7: OUTPUT«Could not find sub &b [...] > > this is biting me currently. I use subs because constants > > didn't work in classes in alpha, and don't work at all in master. > > jnthn: any ideas why thi

[perl #75644] [BUG] Error when reporting an error during parsing caused by doing a role with Lions containing each other in Rakudo

2010-08-12 Thread Carl Mäsak via RT
masak (>>), coke (>): > > rakudo: role Lion[::T] {}; class LionMadeOfLions does > Lion[Lion] {} > > rakudo a54677: OUTPUT«===SORRY!===␤Could not find sub > &chars␤» > > whoa! :) > > * masak submits rakudobug > > Behavior has changed: > > <[Coke]> rakudo: role Lion[::T] {}; class LionMadeOfLion

Re: Large integers, ** and Int

2010-08-12 Thread Aaron Sherman
On Wed, Aug 11, 2010 at 12:50 PM, Patrick R. Michaud wrote: > On Tue, Aug 10, 2010 at 08:44:06PM -0400, Aaron Sherman wrote: > > > Is this an interim limitation, or something that's intended as a > long-term > > implementation for Rakudo? > > It's an interim limitation, but I don't know how long

r31964 -[S05] saner defaults for :c and :p; without a previous match, $/.to blows up

2010-08-12 Thread pugs-commits
Author: moritz Date: 2010-08-12 10:02:42 +0200 (Thu, 12 Aug 2010) New Revision: 31964 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] saner defaults for :c and :p; without a previous match, $/.to blows up Modified: docs/Perl6/Spec/S05-regex.pod ==