[perl #60338] [BUG] NCI segfaults with null pcc_params_signature

2008-11-05 Thread via RT
# New Ticket Created by Jeff Horwitz # Please include the string: [perl #60338] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60338 > changes in r32203 cause mod_parrot to segfault, as the param signature is an uninitiali

Re: [perl #60168] AutoReply: [PATCH] Refactor Junction.

2008-11-05 Thread Vasily Chekalkin
Hello. After some breakages and discussions on #perl6 and #parrot I've remade this patch to proper handling boolean contexts. 1. Refactor 'junction_comparision_helper' to 'get_bool' vtable. 2. Remove 'prefix:?' and 'prefix:!' overrides. Parrot DTRT without them. 3. Replace 'junction_comparisio

Re: [perl #60178] Commit r32189 breaks Parrot on Mac OS X 10.5.4

2008-11-05 Thread Carl Mäsak
I pried r32189 apart to see which chunk of it breaks my compilation. The commit consists of two additions and one change. The two additions compile fine, but as soon as I make the change (attached), I can't compile. the-chunk.patch Description: Binary data

[perl #60168] [TODO] handle Junction threading in dispatch code

2008-11-05 Thread Vasily Chekalkin via RT
Hello. After some breakages and discussions on #perl6 and #parrot I've remade this patch to proper handling boolean contexts. 1. Refactor 'junction_comparision_helper' to 'get_bool' vtable. 2. Remove 'prefix:?' and 'prefix:!' overrides. Parrot DTRT without them. 3. Replace 'junction_comparision_h

[perl #60350] [TODO] default __get_string method

2008-11-05 Thread via RT
# New Ticket Created by Chris Dolan # Please include the string: [perl #60350] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60350 > If you "say $x" on an $x that is an instance of class Foo that lacks stringification vi

[perl #48016] [DEPRECATED] store_global opcode

2008-11-05 Thread Will Coleda via RT
On Sat Dec 01 14:29:03 2007, coke wrote: > =item B > > There are several variants of some of the above ops; all are deprecated, > and are replaced by the ops {set,get}_[hll,root]_global. See also > http://www.parrotcode.org/docs/ops/var.html. DEPRECATED.pod also says that the global keyword in

Re: .perl and other methods on Junctions?

2008-11-05 Thread Larry Wall
On Tue, Nov 04, 2008 at 01:33:09PM -0600, Patrick R. Michaud wrote: : Consider the code: : : my $x = 3 | 'foo'; : my $y = $x.perl; : : : Does $y end up as a junction of strings or as a single string? I think it may not actually matter much, if subsequent stringification of the junction

Re: [perl #48014] [DEPRECATED] PMC union struct

2008-11-05 Thread chromatic
On Wednesday 22 October 2008 09:28:38 Bernhard Schmalhofer via RT wrote: > Does this mean that this ticket can be closed and the deprecation item > in DEPRECATED.pod be removed? Not until we apply this patch and all tests still pass. -- c === include/parrot/pobj.h ==

Re: "::" in namespaces

2008-11-05 Thread Chris Dolan
Aha, this was already reported as [perl #60358] Rakudo doesn't recognize grammars with :: in the name I added my thoughts to that ticket. Chris On Nov 5, 2008, at 12:36 AM, Chris Dolan wrote: Replying to myself: I think the flaw is in my use of "PDF::Grammar::literal_string" as a method poin

Re: "::" in namespaces

2008-11-05 Thread Patrick R. Michaud
On Tue, Nov 04, 2008 at 09:10:02PM -0600, Chris Dolan wrote: > The Perl6 code that triggers that looks like this: > >method is_string(Str $src, Str $expected, Str $msg) { > my $method = PDF::Grammar::literal_string; ... just a point of syntax (which probably doesn't resolve the issue you

Re: "::" in namespaces

2008-11-05 Thread Chris Dolan
On Nov 5, 2008, at 9:41 PM, Patrick R. Michaud wrote: On Tue, Nov 04, 2008 at 09:10:02PM -0600, Chris Dolan wrote: The Perl6 code that triggers that looks like this: method is_string(Str $src, Str $expected, Str $msg) { my $method = PDF::Grammar::literal_string; ... just a point of

Re: [perl #57864] Calling a token "text" in rakudo makes matching fail

2008-11-05 Thread Patrick R. Michaud
On Fri, Oct 31, 2008 at 08:47:09PM -0700, Chris Dolan via RT wrote: > It seems to be Regex.pir that is taking all of the invocations. I have > discovered that, beyond , I cannot create tokens/rules named > "null", "ws", etc. The latter is particularly problematic in writing > parsers in Perl6. T

Re: [perl #60350] [TODO] default __get_string method

2008-11-05 Thread Patrick R. Michaud
On Tue, Nov 04, 2008 at 10:28:26PM -0800, Chris Dolan wrote: > I propose that Perl6Object get a fallback __get_string method that > returns simply the class name and a unique identifier (maybe a > pointer value). Now added in r32373. Here's an example: $ cat x class Foo { m

Re: Known Bug in Rakudo?

2008-11-05 Thread Patrick R. Michaud
On Thu, Oct 30, 2008 at 08:03:17AM -0700, Ovid wrote: > This code: > > class Point { > has $.x is rw; > has $.y is rw; > > method get_string () { > return "<$.x, $.y>"; > } > } > > my Point $point .= new( :x<1.2>, :y<-3.7> ); > say $point.x; > say $poi

Numify

2008-11-05 Thread Chris Dolan
In "[perl #60350] [TODO] default __get_string method", Patrick added a default Object.Str() that classes can override to get custom stringification. Formerly, you could do that only by defining a method named __get_string(). Currently, you can overload number context by creating a __get_nu