Re: Instantiating objects

2003-10-16 Thread Dan Sugalski
On Wed, 15 Oct 2003, Jeff Clites wrote: > My brain was in PMC == class mode when I wrote what I wrote above, but > now I need to rethink, since that's not a given (yet?). Not a given ever. PMCs may have a backing namespace, and that namespace may be a HLL class, but it might not. The terminology

Re: Instantiating objects

2003-10-15 Thread Luke Palmer
Leopold Toetsch writes: > I think that for supporting Ruby or such we have to keep fences between > PMCs and "real objects" very low. Agreed, or have some sort of automagic transformation possible. > So it should be possible to define an Imaginary Number class that > inherits from two (Perl?)Num

Re: Instantiating objects

2003-10-15 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > On Wed, 15 Oct 2003, Jeff Clites wrote: >> What do you mean by "new method in the class" above? > In this case, the "new method" is a named method in the class namespace > that we look up and call. We'd look it up and dispatch to it. A more low level lik

Re: Instantiating objects

2003-10-15 Thread Jeff Clites
On Oct 15, 2003, at 1:48 PM, Melvin Smith wrote: At 03:49 PM 10/15/2003 -0400, Dan Sugalski wrote: On Wed, 15 Oct 2003, Jeff Clites wrote: > On Oct 15, 2003, at 8:36 AM, Dan Sugalski wrote: > > > I'm poking around in the object stuff today, to try and get at least > > single-inheritance objects

Re: Instantiating objects

2003-10-15 Thread Melvin Smith
At 03:49 PM 10/15/2003 -0400, Dan Sugalski wrote: On Wed, 15 Oct 2003, Jeff Clites wrote: > On Oct 15, 2003, at 8:36 AM, Dan Sugalski wrote: > > > I'm poking around in the object stuff today, to try and get at least > > single-inheritance objects up and running. > > > > At the moment, I'm torn bet

Re: Instantiating objects

2003-10-15 Thread Dan Sugalski
On Wed, 15 Oct 2003, Jeff Clites wrote: > On Oct 15, 2003, at 8:36 AM, Dan Sugalski wrote: > > > I'm poking around in the object stuff today, to try and get at least > > single-inheritance objects up and running. > > > > At the moment, I'm torn between just having a new method of some sort > > in

Re: Instantiating objects

2003-10-15 Thread Jeff Clites
On Oct 15, 2003, at 8:36 AM, Dan Sugalski wrote: I'm poking around in the object stuff today, to try and get at least single-inheritance objects up and running. At the moment, I'm torn between just having a new method of some sort in the class and having a vtable method on the class PMC that retu

Re: Instantiating objects

2003-10-15 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > I'm poking around in the object stuff today, to try and get at least > single-inheritance objects up and running. > At the moment, I'm torn between just having a new method of some sort in > the class and having a vtable method on the class PMC that return

Instantiating objects

2003-10-15 Thread Dan Sugalski
I'm poking around in the object stuff today, to try and get at least single-inheritance objects up and running. At the moment, I'm torn between just having a new method of some sort in the class and having a vtable method on the class PMC that returns an object of that class. (get_pmc on the class