Re: Vtables fixed, scalar started

2001-10-28 Thread Simon Cozens
On Sun, Oct 28, 2001 at 01:26:28PM -0500, Sam Tregar wrote: > Maybe I'm anal retentive, but I don't know if I'm ready to start writing > methods I can't test! You prefer to write tests for things that don't exist? :) Ah well, have it your own way. (That's to say, yes, I'd love to see some tests f

pbc2c.pl

2001-10-28 Thread Daniel Grunblatt
Hi all, I made some little changes to pbc2c.pl to make it work with all (working) examples. I'm sorry that it throws some nasty warnings, maybe it's possible to remove them using opcode_t * instead of int. Opinions more than welcome.

RE: Opcode complaints

2001-10-28 Thread Brent Dax
Brent Dax: # 1. No if(s|sc, i|ic) # We're treating strings as second-class citizens here. Why # shouldn't you # be able to do an 'if' on a string? You could interpret it as the # string's length, or the string's length && string ne "0". # # 2. No unless # 'unless' is often more useful than 'if'.

mod_parrot (was Re: Schedule of things to come)

2001-10-28 Thread Robert Spier
> So I know for the first-stage rollout, does Apache's module system support > Apache managing filehandles and modules calling apache's I/O routines, or > does it just do weird magic with I/O on normal filehandles? I'm pretty sure that for a simple implementation, we only need to worry about "

Re: Vtables fixed, scalar started

2001-10-28 Thread Sam Tregar
On Sun, 28 Oct 2001, Simon Cozens wrote: > You are all encouraged to write implementations of the vtable functions > in scalarclass.c Cool. So, what needs to get done first? By that I mean, what is standing in the way of our creating tests for scalar PMCs? Maybe I'm anal retentive, but I don'

RE: Opcode complaints

2001-10-28 Thread Brent Dax
Tom Hughes: # In message <[EMAIL PROTECTED]> # "Brent Dax" <[EMAIL PROTECTED]> wrote: # # > 4. eq and friends: string variants # > One thing that seems to be missing is string and numeric # variants on the # > comparison ops. While this isn't a problem now, it may be # once we get # > P

Re: Opcode complaints

2001-10-28 Thread Tom Hughes
In message <[EMAIL PROTECTED]> "Brent Dax" <[EMAIL PROTECTED]> wrote: > 4. eq and friends: string variants > One thing that seems to be missing is string and numeric variants on the > comparison ops. While this isn't a problem now, it may be once we get > PMCs. Both string and numeric

Vtables fixed, scalar started

2001-10-28 Thread Simon Cozens
I've fixed (I hope) the huge horrible problem whereby vtable_ops was trying to do pointer arithmetic on struct entries, by making the multimethod entries into an array of function pointers. I've also made the vtable functions take a pointer to the interpreter, in case they need to do any GC stuff.