Login  Register

Re: Ring - model infrastructure for Pharo

Posted by Veronica Isabel Uquillas Gomez on Dec 13, 2010; 12:22pm
URL: https://forum.world.st/Ring-model-infrastructure-for-Pharo-tp3081971p3085344.html


On 13 Dec 2010, at 12:40, Marcus Denker wrote:


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? 

the format is different for RecentMessageList

'Class >> #selector'
'Class(removed) >> #selector'

Is this class being used? Or its method #removeAMethod: ?  I just noticed that it is invoking #methodSymbol: from MethodReference, but that method does not exist...

Without this, in fact we don't need an iVar, and we should manage an unique format



Marcus

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