Hi all,
and thanks Santi for rescuing Scale from the Limbo :).
I saw already some discussions pointing to this thread indirectly. I want to answer some philosophical aspects, just to remove some burden from Santi who is the real one that should take credit for pushing this to the light ^^.
1) Why scale and not "pharo scripting". I saw an email from Norbert about this.
Well, I remember we discussed this with Santi a couple of years ago about this, when we started and brainstormed about it, but I am not able to remember the exact details right now. But, I can still think about some arguments in favor of the current decision (which we may not keep in the future, hey :))
- First, Pharo is different from ruby and python in terms of deployment. In ruby and python, you have the main libraries that are shared and your application is deployed locally as files. We can think that the script becomes the application. In Pharo, to write an application we need to interact and change with the environment. Thus we cannot share it. You can think about scale as a read-only pharo environment deployed in your machine for scripting purposes.
��
- Second, Scale is Pharo, but not only. Scale introduces a new command line handler to manage scripts. Scale introduces an interpreter that is the one that is in charge of executing the code, provide special bindings and syntax sugar to scripts (see e.g. the 'system' instance in scripts). Scale requires TaskIt and OSSubprocess to provide easy-to-use interaction with the system. Should all this be part of Pharo? Well I do not know but I prefer to keep it as a separate entity. Maybe we can call it a separate distribution, installation or whatever.
- Third, if it is a matter of naming (which I think it is), something that comes out of the second point is that
��#! /usr/bin/local/scale => #! /usr/bin/local/pharo scale
or better => #! /usr/bin/env pharo scale ?
2) We would appreciate if feedback is not lost in the mailing list but is converted in issues instead:
Fell free to contribute, provide feedback or even check the code, it is really a simple and short project.
It was nice that Santi implemented scale installation in scale :)
Cheers,
Guille