Scale: Scripting made easier

Hi everybody.

We are officially releasing a first version of scale.

Scale is a command line handler that is there for making easier the life of the people that uses scripting in linux. As such, we only tested it so far in linux. It will be for sure easy to adapt it to mac because its a *nix, but not for windoze.

IMPORTANT REMARK: scale is not meant to develop applications, it is meant to develop scripts in Pharo, to be launched from the command line. This means that scale does not provide a top level syntax to declare classes or methods: people should do that as any normal Pharo application. Scale should be used to invoke such applications.

When would you use scale?
  – For example, to replace some bash scripts used for common boring tasks (and you are using python or ruby there :P)
  – Another example, would be when you want to replace bash scripts that chain things like:
    ./pharo eval –save “something”
    ./pharo eval –save “other something”
    …
Oneliner to install: (note it needs sudo) 
In the repository there is some user level documentation based on examples and a list of available methods on the magical variable system.  There are many examples as well on the repository.
Last but not least, I’m using this project in others two projects, where it proof it self quite powerful what keeps me on maintaining Scale.
These projects are:
Pharo Android VM building https://github.com/sbragagnolo/pharo-vm
 Here I use it for automating the creation of a
       * new building image,
       * the creation of new resource image (for deploying on the android apk),
       * linking the android sources into the building directory
       * generating the code from the console
MakrosTool is an extension of scale that adds a second magical variable for building up component reification in a ROS based environment.
Santiago & Guille
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: