Login  Register

Re: Ring - model infrastructure for Pharo

Posted by Marcus Denker-4 on Dec 13, 2010; 11:40am
URL: https://forum.world.st/Ring-model-infrastructure-for-Pharo-tp3081971p3085304.html


On Dec 10, 2010, at 2:33 PM, Veronica Isabel Uquillas Gomez wrote:

Dear all,

I am currently working on the Ring, an unifying and foundational model infrastructure for Pharo.
The goals are:
- Provide a common API at structural and runtime level
- Allow tools to interact and integrate directly with the host environment (Pharo)
- Support history analysis

I started comparing the APIs of RB, MethodReference, Pseudo classes, MC, Smalltalk itself and Ginsu, as a basic to build the Ring.
So far I have implemented the main classes including the ones that should replace MethodReference and the Pseudo classes.

An unified API will imply changes in most of the ones mentioned above (as most of them are non-polymorphic).  
As a first step, I would like to have your opinion about the proposal for replacing MethodReference (attached file). 

#stringVersionDefault has just one sender (#markMatchingClasses in SelectorBrowser). Do we need that?

In general, #stringVersion in MethodReference seems to be strange... 

stringVersion: 'Class>>selector:' format

why is there an iVar for this? Can't this just use the selector and class an build it? 

Marcus

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.