Re: Proposed vtable changes WRT method lookup

2005-01-18 Thread Leopold Toetsch
Dave Whipp [EMAIL PROTECTED] wrote: Leopold Toetsch wrote: 1) rename vtable-data to vtable-class All current usage of the 'void *data' vtable element is as the object's class. So it should read PMC *class. Its a minor thing, but I would try to avoid using identifiers that are keywords in

Re: Proposed vtable changes WRT method lookup

2005-01-18 Thread Leopold Toetsch
Sam Ruby [EMAIL PROTECTED] wrote: Leopold Toetsch wrote: Below inline attached is a proposal for vtable changes, mainly WRT method lookup. First, a general question: under what circumstances is it OK and/or expected for the opcode Cgetclass and the VTABLE entry VTABLE_get_class to return

Re: Proposed vtable changes WRT method lookup

2005-01-18 Thread Matt Fowles
All~ On Tue, 18 Jan 2005 10:18:52 +0100, Leopold Toetsch [EMAIL PROTECTED] wrote: Sam Ruby [EMAIL PROTECTED] wrote: Leopold Toetsch wrote: Below inline attached is a proposal for vtable changes, mainly WRT method lookup. First, a general question: under what circumstances is it OK

Re: Proposed vtable changes WRT method lookup

2005-01-18 Thread Leopold Toetsch
Matt Fowles [EMAIL PROTECTED] wrote: ... If we add to it support. MMD, however, is where things begin to differ. Instead of havng the find_method with the extra mmd_nr, we could have a MMD_Resolution PMC which would then get the mro from each class, and figure out which method to call

Re: Proposed vtable changes WRT method lookup

2005-01-18 Thread Matt Fowles
Leo~ On Tue, 18 Jan 2005 16:52:52 +0100, Leopold Toetsch [EMAIL PROTECTED] wrote: Matt Fowles [EMAIL PROTECTED] wrote: ... If we add to it support. MMD, however, is where things begin to differ. Instead of havng the find_method with the extra mmd_nr, we could have a MMD_Resolution

Re: Proposed vtable changes WRT method lookup

2005-01-18 Thread Leopold Toetsch
Matt Fowles [EMAIL PROTECTED] wrote: Leo~ On Tue, 18 Jan 2005 16:52:52 +0100, Leopold Toetsch [EMAIL PROTECTED] wrote: That was Cvtable-dispatch in the proposal. Cfind_method is just called to query one object or class, if it can do the method. Finding the final (MMD) function is done

Name of parrot executable

2005-01-18 Thread Will Coleda
To implement tcl's [info nameofexecutable] I need to get the name of the exectuable parrot was invoked with. I would have expected to live in interpinfo, but don't see it there. Anyone have a pointer to where this is? (If it's not in yet, I'll add a TODO)

Calling conventions, invocations, and suchlike things

2005-01-18 Thread Dan Sugalski
Hi folks. Sorry I've been gone so long. Non-p6i stuff's been well past monopolizing my time. Not much of an excuse, I know, but the Real World intrudes at the most inconvenient times. Things are, I hope, easing up a little, though I apologize in advance if I get a little cranky while I get

Re: Calling conventions, invocations, and suchlike things

2005-01-18 Thread Sam Ruby
Dan Sugalski wrote: Hi folks. Welcome back! Parrot's got the interesting, and somewhat unfortunate, requirement of having to allow all subroutines behave as methods and all methods behave as subroutines. (This is a perl 5 thing, but we have to make it work) That is, an invokable PMC may be

Perl 6 Summary for 2005-01-11 through 2005-01-18

2005-01-18 Thread Matt Fowles
Perl 6 Summary for 2005-01-11 through 2005-01-18 Welcome to yet another Perl Summary brought to you by music and pizza (although the pizza is late in arriving). Like many summaries before it, we start with an attempt at non sequitur and Perl 6 Language. Perl 6 Language idiomatic