why would you need that?
normally you should not mix level. Meta is about meta.
Are you talking about the following paragraph I wrote?
This is one of the things I would like to get fixed in
the next big
change of Magritte: have descriptions that belong to the instance
being defined on the instance side, so that they can differ depending
on the state of the model.
If yes, the first point is my answer:
* In my opinion descriptions are orthogonal to the Smalltalk meta-
hierarchy. Currently Magritte only allows to automatically compose
and collect descriptions from the class-side that are then applied to
the instance side. This sort of makes sense but gets complicated as
soon as people want to change descriptions depending on the state of
the object or want to apply descriptions to the class-side itself
(there is no place to put these). Both use-cases are already possible
right now, but they are unnecessary complex.
The only problem I see when putting the descriptions to the instance-
side is that you require an instance of the object to get the meta-
model. I don't know if anybody sees a possible problem with this?
* Another thing I would like to change is to get rid of the whole
MAReferenceDescription hierarchy. Again this is something that is
much more complex than it should be. Similar to EMOF I would like to
add a multiplicity attribute directly to the basic description itself.
* And of course use less common selector names for extension methods
to Object. ;-)
Any other important change-requests?
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch