Re: Pugs on Windows

2007-02-06 Thread Audrey Tang
在 Feb 6, 2007 11:07 PM 時,Gabor Szabo 寫到: On http://www.pugscode.org/ when I click "Download" I get to the wiki on rakudo and (yippi it works again !) but the link to the Win32 binary builds of Pugs and Parrot brings me to http://jnthn.net/public_html/perl6/ which is 404. Fix the rakudo wiki t

Re: [perl #41453] [BUG] Test failure in t/pmc/object-meths.t

2007-02-06 Thread Leopold Toetsch
Am Dienstag, 6. Februar 2007 17:54 schrieb Allison Randal: > This is a failing test Leo added in r16783. It looks to me like calling: > > o = new 'MyClass', $P0 > > actually should call init_pmc, rather than init, even when $P0 is null. > Leo, are you saying the choice between init and init_pmc

PIR syntax (was: Re: What Skills Do We Need to Finish Parrot?)

2007-02-06 Thread Klaas-Jan Stol
Allison Randal wrote: James Keenan wrote: Which leads to my next questions: Given a knowledge of a dynamic language (I believe there's one called Perl 5), what is the trajectory for learning PIR? Is there any tutorial in the docs? There's docs/imcc/syntax.pod. Not a tutorial, but a decent

Re: Q on PIR vs PASM

2007-02-06 Thread Allison Randal
Klaas-Jan Stol wrote: hi, IIRC, IMCC started as a kind of pre-processor for PASM, in other words, it allowed more readable shortcuts for several constructs. Eventually, everything was translated to pure PASM, that is, 1 long list of real Parrot instructions (no .sub/.end blocks etc). Yes, P

Re: What Skills Do We Need to Finish Parrot?

2007-02-06 Thread Allison Randal
James Keenan wrote: Which leads to my next questions: Given a knowledge of a dynamic language (I believe there's one called Perl 5), what is the trajectory for learning PIR? Is there any tutorial in the docs? There's docs/imcc/syntax.pod. Not a tutorial, but a decent introduction. Is the

Re: [perl #41453] [BUG] Test failure in t/pmc/object-meths.t

2007-02-06 Thread Allison Randal
This is a failing test Leo added in r16783. It looks to me like calling: > o = new 'MyClass', $P0 actually should call init_pmc, rather than init, even when $P0 is null. Leo, are you saying the choice between init and init_pmc should be based on the content of the argument rather than the si

Re: Prototype object model for Parrot

2007-02-06 Thread Allison Randal
Kevin Te wrote: I was just starting to port Class::MOP to C PMCs, I would be happy to help port smop to C PMCs. Great, let's meet on #parrot later this week. Allison

Re: Negative array subscripts

2007-02-06 Thread Smylers
Blair Sutton writes: > David Green wrote: > > > In some ways, I like not having a [0] index at all: programmers may > > be used to counting from zero, but normal humans start with first, > > second, third, ... third last, second last,... > > My feelings are Perl 6 should stick to 0 being the ind

Re: Prototype object model for Parrot

2007-02-06 Thread Kevin Te
I was just starting to port Class::MOP to C PMCs, I would be happy to help port smop to C PMCs. Kevin Allison Randal wrote: I spent yesterday pair programming with Sam Vilain on a prototype object model written in PIR. We actually wrote two prototypes. The first one had 2 levels of meta ob

Re: Negative array subscripts

2007-02-06 Thread Blair Sutton
David Green wrote: On 2/5/07, David Green wrote: Then we wouldn't need * to count backwards, although it's still useful to allow us to count past the end of an array. There are all sorts of variations on this scheme, such as whether * is the last element or the one after that, etc., or whether

Pugs on Windows

2007-02-06 Thread Gabor Szabo
On http://www.pugscode.org/ when I click "Download" I get to the wiki on rakudo and (yippi it works again !) but the link to the Win32 binary builds of Pugs and Parrot brings me to http://jnthn.net/public_html/perl6/ which is 404. Gabor

[perl #41454] [PATCH] add 2 new tests for object method dispatch

2007-02-06 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41454] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41454 > Previously, inherited method dispatch was only tested with a simple parent/child class.

[perl #41456] [PATCH] add a Super PMC test for addparent-established inheritance trees

2007-02-06 Thread via RT
# New Ticket Created by Sam Vilain # Please include the string: [perl #41456] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41456 > From: <[EMAIL PROTECTED]> Check that if we create an inheritance tree with addparent, th

Re: Negative array subscripts

2007-02-06 Thread TSa
HaloO, David Green wrote: Also, this would solve a problem I've been wondering about with "funny" shapes being lexically scoped. [..] However, what if you pass the funny array along with a (funny) index? E.g. our @flavours (1..32); my $favourite = get_fave(@flavours); #returns index of s