we need more ops.

2002-07-27 Thread Sean O'Rourke
Two problems: - As things stand currently, there's no way to get to the cmp_num and cmp_string vtable methods from parrot assembly. - The cmp() method/op is completely useless for Perl, since Perl comparison operators force their operands to be interpreted as either strings or numbers. As thing

Keyed multiplication

2002-07-27 Thread Mike Lambert
Can I propose a simply-phrased question? I have an IntArray in @P1 and a NumArray in @P2. How would I do the equivalent of: S1 = P1[5] * P2[5] I'm not asking about how to do it currently, but rather how it should be done in the 'final keyed interface'. When explaining, I'd appreciate sample pas

[perl #15680] [PATCH] More tests

2002-07-27 Thread via RT
Applied, thanks. -- Tom Hughes ([EMAIL PROTECTED]) http://www.compton.nu/

Re: [perl #15676] [PATCH] Re: The quest for no compiler warnings

2002-07-27 Thread Melvin Smith
At 04:08 PM 7/27/2002 +, via RT wrote: ># New Ticket Created by Nicholas Clark ># Please include the string: [perl #15676] ># in the subject line of all future correspondence about this issue. ># http://rt.perl.org/rt2/Ticket/Display.html?id=15676 > Thanks Nicholas. Applied. -Melvin

[perl #15680] [PATCH] More tests

2002-07-27 Thread via RT
# New Ticket Created by Simon Glover # Please include the string: [perl #15680] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=15680 > The patches below add tests for: * jsr * bor_i_i, bxor_i_i and band_i_i * no

Re: Array vs. PerlArray

2002-07-27 Thread Sean O'Rourke
On Fri, 26 Jul 2002, Melvin Smith wrote: > I can't remember who wrote what (I know it wasn't me, Jeff maybe?), > but if there aren't any complaints I'm going to copy PerlArray over > Array and then start from there. > > Any complaints? PerlArray converts arrays to their lengths to do math on them

Re: PARROT QUESTIONS: Keyed access: PROPOSAL

2002-07-27 Thread Tom Hughes
In message Dan Sugalski <[EMAIL PROTECTED]> wrote: > Keys are either constant key structs, constant integers, string > registers, or integer registers. Encoding shouldn't be any different > than any other constant or register. Jeff's got an opcode

[perl #15676] [PATCH] Re: The quest for no compiler warnings

2002-07-27 Thread via RT
# New Ticket Created by Nicholas Clark # Please include the string: [perl #15676] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=15676 > On Sat, Jul 13, 2002 at 10:54:22PM +0100, Nicholas Clark wrote: > On gcc we turn on -

Re: [PATCH] Reduce array.pmc keyed code

2002-07-27 Thread Nicholas Clark
On Thu, Jul 25, 2002 at 01:32:44PM -0700, Scott Walters wrote: > On Thu, 25 Jul 2002, Mike Lambert wrote: > > > Scott Walters wrote: > > > > > Part of the beauty of PMCs is that you can have very compact > > > storage given a dedicated eg int array type. Generating these > > > would not be a ba