Re: Objects, classes, metaclasses, and other things that go bump in the night

2004-12-16 Thread Piers Cawley
Dan Sugalski [EMAIL PROTECTED] writes: At 11:13 AM +0100 12/14/04, Leopold Toetsch wrote: Dan Sugalski [EMAIL PROTECTED] wrote: subclass - To create a subclass of a class object Is existing and used. Right. I was listing the things we need in the protocol. Some of them we've got,

Re: Objects, classes, metaclasses, and other things that go bump in the night

2004-12-14 Thread Leopold Toetsch
Dan Sugalski [EMAIL PROTECTED] wrote: subclass - To create a subclass of a class object Is existing and used. add_parent - To add a parent to the class this is invoked on become_parent - Called on the class passed as a parameter to add_parent What is the latter used for?

Re: Objects, classes, metaclasses, and other things that go bump in the night

2004-12-14 Thread Dan Sugalski
At 11:13 AM +0100 12/14/04, Leopold Toetsch wrote: Dan Sugalski [EMAIL PROTECTED] wrote: subclass - To create a subclass of a class object Is existing and used. Right. I was listing the things we need in the protocol. Some of them we've got, some we don't, and some of the stuff we have we

MMD dispatch (was: Objects, classes, metaclasses, and other things that go bump in the night)

2004-12-04 Thread Leopold Toetsch
Dan Sugalski [EMAIL PROTECTED] wrote: Now, there is one big gotcha here -- multimethod dispatch. I'm not entirely sure that we can do this properly and still give classes full control over how methods are looked for and where they go. Thinking about MMD a bit more, I can imagine the following

Re: Objects, classes, metaclasses, and other things that go bump in the night

2004-12-02 Thread Sam Ruby
Leopold Toetsch wrote: Dan Sugalski [EMAIL PROTECTED] wrote: Anyway, so much for the 'outside world' view of objects as black box things that have properties and methods. [ ... ] Almost everything we do here is going to be with method calls. There's very little that I can see that requires any

Objects, classes, metaclasses, and other things that go bump in the night

2004-11-29 Thread Dan Sugalski
Right, so with at least a basic rework of the string stuff in, it's time to turn our attention to objects and all the stuff that goes with them. I'd originally thought that the bits we'd put in place would be sufficient to do everyone's object system (well, all the languages that we