Re: Code Critics for unloaded projects
Posted by
Stéphane Ducasse on
Apr 04, 2011; 3:32pm
URL: https://forum.world.st/Code-Critics-for-unloaded-projects-tp3425020p3425830.html
> Being able to run Code Critics on not loaded code would be a very nice
> thing, unfortunately it is not supported right now. We wanted to do
> the same in SqueakSource when we originally wrote the software, but we
> had to realize that a lot of the rules unnecessarily depend on the
> fact that the code is installed.
>
> It is still one of the todo items for the refactoring engine to make
> Code Critics completely runnable on the refactoring code model. As the
> Pharo code model is diverging more and more from the refactoring code
> model this is more likely to happen anytime soon.
Lukas what do you say that. Fixing the API of the RB code model should be simple to do.
Especially since the code model does not have to run on all the smalltalk dialect so we are
free to fix it.
In addition the RB code model has always been a wrapper on top of other.
We are working on Ring and the point is to use it to manage the source code and off-line
source code model and the one of RB too -- may be you do not believe it but if we
do not try we will not move and we should have an infrastructure that enable us to move.
Now finally I do not see why changing is a problem, especially since the runtime
system does not have to be the same everything.
Stef