how to change the type of objects

2006-11-10 Thread TSa
HaloO, I wonder how an object can change its type without loosing its identity. Consider two types Rectangle and Polygon with Rectangle a subtype of Polygon. Now if there is a method add_vertex in the Polygon type, calling it on a Rectangle warps the object out of the Rectangle type into a

[svn:perl6-synopsis] r13474 - doc/trunk/design/syn

2006-11-10 Thread larry
Author: larry Date: Fri Nov 10 11:14:19 2006 New Revision: 13474 Modified: doc/trunk/design/syn/S12.pod Log: Clarification from cmarcelo++. Modified: doc/trunk/design/syn/S12.pod == --- doc/trunk/design/syn/S12.pod

[perl #40791] [TODO] PGE: convert t/compilers/pge/p5regex/p5rx.t to PIR

2006-11-10 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #40791] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40791 A month or so ago Jerry Gay (particle) converted the perl-based testing of p6

[perl #39776] [BUG] PGE: Method 'reduce' not found

2006-11-10 Thread Patrick R. Michaud via RT
If someone could submit a test for this case, that would be great. The test should check for the case where an unescaped quantifier appears in a regex, and that PGE correctly returns a meaningful exception as opposed to Method 'reduce' not found. Thanks! Pm

[perl #40792] [TODO] document HLL type mapping

2006-11-10 Thread via RT
# New Ticket Created by Chip Salzenberg # Please include the string: [perl #40792] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40792 It's already true that HLLs can remap the basic types so that e.g. parameter

[svn:parrot-pdd] r15330 - in trunk: . compilers/imcc docs docs/pdds include/parrot src

2006-11-10 Thread chip
Author: chip Date: Fri Nov 10 11:12:20 2006 New Revision: 15330 Modified: trunk/docs/pdds/pdd03_calling_conventions.pod Changes in other areas also in this revision: Modified: trunk/ (props changed) trunk/compilers/imcc/imcc.l trunk/compilers/imcc/imcc.y

[perl #40793] [PATCH] outdated wiki irc links in docs/gettingstarted.pod

2006-11-10 Thread via RT
# New Ticket Created by Rick Scott # Please include the string: [perl #40793] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40793 * The wiki page at http://www.vendian.org/parrot/wiki/ has been down since 2004, so

[perl #40796] [BUG] PGE: pgc.pir/P6Grammar compiler uses incorrect quoting

2006-11-10 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #40796] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40796 Larry frequently complains that the syntax in .pg files for operator tokens

[perl #40799] [TODO] Implement Iterator clone vtable function

2006-11-10 Thread via RT
# New Ticket Created by Matt Diephouse # Please include the string: [perl #40799] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40799 The Iterator pmc's clone vtable function needs to be filled in. Right now, it

Re: how to change the type of objects

2006-11-10 Thread Darren Duncan
At 1:24 PM +0100 11/10/06, TSa wrote: HaloO, I wonder how an object can change its type without loosing its identity. Consider two types Rectangle and Polygon with Rectangle a subtype of Polygon. Now if there is a method add_vertex in the Polygon type, calling it on a Rectangle warps the object

[perl #40802] Investigate Supposed JIT Bug with if/unless Optimization

2006-11-10 Thread via RT
# New Ticket Created by Matt Diephouse # Please include the string: [perl #40802] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40802 This was taken from t/pmc/iterator.t: # XXX # swapping the next two

[perl #40804] -j fails: Stack alignment of x86 JIT on Mac

2006-11-10 Thread via RT
# New Ticket Created by Chip Salzenberg # Please include the string: [perl #40804] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40804 I just helped Matt diagnose JIT failures on Intel Mac which seem to be the

[perl #40806] [BUG] IMCC - embedded source locations (#line nnn file.pir)

2006-11-10 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #40806] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40806 In docs/compiler_faq.pod: =head2 How do I embed source locations in my

[svn:parrot-pdd] r15330 - in trunk: . compilers/imcc docs docs/pdds include/parrot src

2006-11-10 Thread Bob Rogers
From: [EMAIL PROTECTED] Date: Fri, 10 Nov 2006 11:12:21 -0800 (PST) Author: chip Date: Fri Nov 10 11:12:20 2006 New Revision: 15330 . . . Log: Remove the :maybe_flat feature, which was intended to help Perl 6, but they never used it. Substantially improve

Re: [perl #40806] [BUG] IMCC - embedded source locations (#line nnn file.pir)

2006-11-10 Thread Patrick R. Michaud
On Fri, Nov 10, 2006 at 08:23:56PM -0800, Chip Salzenberg via RT wrote: This *may* be a non-bug resulting from the conflation of PIR source file/line and HLL source file/line. Or it may indicate the need for separate setfile/setline [HLL line] and #line num file [PIR line]. I think it's