(nice to see you back on the list, Jecel. tudo bem? é mutio frio aqui, viu? pensei ontem á noite que necessito ir a Brasil prá cambiar o inverno con o veraõ! outra coisa: que é a diferencia entre necessitar e precisar? quando devo usar uma em lugar da outra?)
At 01:34 PM 2/28/98 -0600, you wrote:
David Farber dfarber@numenor.com wrote:
i really like the idea of adding prototypes to squeak, but is there a way to add prototypes *and* keep classes?
I would say Mario Wolczko already proved this could be done when he implemented his Smalltalk emulator in Self. You can read about it if you start from the Self mirror, choose "this release" and then "documentation". The mirror is at:
http://www.cs.ucsb.edu/oocsb/self/index.html
Of course, this Smalltalk system is pretty "shallow" compared to Squeak and isn't as well integrated with Self as it could be, but it does show that prototypes and classes can live just fine in the same system.
i knew that a Smalltalk system had been written in Self. it seems fairly evident that Class is a subset of Prototype. my questions is, if you were to get your hands on one of the "Smalltalk" object instances from somewhere else in the Self system, could you manipulate that instance as if it were a "Self" instance (i.e. add a slot)? i would want this to be illegal, or rather, thwarted by the meta facilities.
dave -- j. david farber oo architect+mentor numenor labs incorporated in sunny boulder colorado dfarber@numenor.com www.numenor.com
squeak-dev@lists.squeakfoundation.org