[squeak-dev] Mirror primitives

Bert Freudenberg bert at freudenbergs.de
Mon Sep 7 19:19:53 UTC 2009


On 07.09.2009, at 20:56, Eliot Miranda wrote:
>
> I have fixes for this integrated in Qwaq.  This is work I did for
> VisualWorks a while back.  The idea is to add a set of mirror
> primitives, so called because they do reflection, to ContextPart.
> These primitives implement the basic operations of the object model
> needed for execution simulation, fetching an object's class, accessing
> its named and indexed instance variables, and the number of indexed
> instance variables, sending a message, but they take the object
> operated on as a parameter and so do function without sending messages
> to that object.

Wouldn't that break encapsulation in a way we never had to before?

- Bert -





More information about the Squeak-dev mailing list