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

Re: Large integers, ** and Int

2010-08-12 Thread Aaron Sherman
On Wed, Aug 11, 2010 at 12:50 PM, Patrick R. Michaud pmich...@pobox.comwrote: 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

[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 (): masak rakudo: role Lion[::T] {}; class LionMadeOfLions does Lion[Lion] {} p6eval rakudo a54677: OUTPUT«===SORRY!===␤Could not find sub chars␤» masak whoa! :) * masak submits rakudobug Behavior has changed: [Coke] rakudo: role Lion[::T] {}; class LionMadeOfLions

[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 (): masak rakudo: class A { sub b { 0x10 }; has $!c = b }; A.new p6eval rakudo 4c94d7: OUTPUT«Could not find sub b [...] masak` 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. masak jnthn: any

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 #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. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77178 # git rev-parse HEAD 69561ef449a81aee22189229e9724ea23565e6ee 13:22 cono

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 world.say

Re: Buf.pm: FIFO and grammar

2010-08-12 Thread Aaron Sherman
On Thu, Aug 12, 2010 at 5:47 AM, Carl Mäsak cma...@gmail.com 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

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 while back we had a

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

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

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

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

[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. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77184 tylercurtis rakudo: role A { my $!foo; }; role B { my $!foo; }; class C does A does

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