On 18 Jul 2014, at 08:14, Marcus Denker <marcus.den...@inria.fr> wrote:
>>> >>> I have added a first GlobalVar hierarchy… it has already the code >>> generation methods but Opal is not yet forwarding >>> code generation (and the compiler does not yet compile bindings with the >>> subclass). >>> >> >> update 40 095 contains changes to deeper integrate first class variables >> (Slots and first class Globals) int the system. >> >> 1) Both the binding in "Smalltalk globals" as well as all Class Variables >> are now instances of GlobalVariable. >> (I want to have both GlobalVariable and ClassVariable, but that is for >> later) >> >> e.g. >> >> Object binding class >> (SmalltalkImage classVariableNamed: 'ShutDownList') class >> >> all the Slots and Globals understand >> >> #definingClass -> returns the class defining the variable or >> "nil" for true globals >> #usingMethods -> all methods reading or writing the variable >> >> >> e.g. try (Point slotNamed: #x) usingMethods >> >> Next: >> >> -> Hook Opal to forward code generation for globals to the meta object > Done (not yet integrated): > > https://pharo.fogbugz.com/f/cases/13584/Forward-code-generation-for-Globals-and-Class-Vars-to-meta-object > >> -> use ClassVariable for class variables > Done (not yet integrated): > > https://pharo.fogbugz.com/f/cases/13586/Class-Variables-should-be-ClassVariables-not-Globals > This is now in Pharo4 update 097 Marcus