Fwd: [Pharo-dev] [ANN] Scale

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: [Pharo-dev] [ANN] Scale

Denis Kudriashov
Привет.

Уверен, многих заинтересует. Альтернатива bash на Pharo. 

---------- Forwarded message ----------
From: Santiago Bragagnolo <[hidden email]>
Date: 2016-10-23 20:34 GMT+02:00
Subject: [Pharo-dev] [ANN] Scale
To: Pharo Development List <[hidden email]>


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






--
--
http://groups.google.ru/group/sugr
---
Вы получили это сообщение, поскольку подписаны на группу "Russian Smalltalk User Group".
Чтобы отменить подписку на эту группу и больше не получать от нее сообщения, отправьте письмо на электронный адрес [hidden email].
Чтобы настроить другие параметры, перейдите по ссылке https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] [ANN] Scale

vvm13xyz xyz
Типичный Smalltalk (Pharo/VW/VAST) сам по себе и операционная система, и bash (точнее, нечто лучшее, чем bash), и даже немножко - СУБД.

В самом деле, сравните command line и workspace/playground.

On Monday, October 24, 2016 at 12:34:21 AM UTC+5, Denis Kudriashov wrote:
Привет.

Уверен, многих заинтересует. Альтернатива bash на Pharo. 

---------- Forwarded message ----------
From: Santiago Bragagnolo <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Te5yltG1BgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">santiagob...@...>
Date: 2016-10-23 20:34 GMT+02:00
Subject: [Pharo-dev] [ANN] Scale
To: Pharo Development List <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Te5yltG1BgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">phar...@...>


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"
    ...

Github: <a href="https://github.com/guillep/Scale" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fguillep%2FScale\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEG4YijAx5fEvVWlHqk1gOX58jLZw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fguillep%2FScale\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEG4YijAx5fEvVWlHqk1gOX58jLZw&#39;;return true;">https://github.com/guillep/Scale
Oneliner to install: (note it needs sudo) 
 wget -O- <a href="https://raw.githubusercontent.com/guillep/Scale/master/setupScale.sh" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fraw.githubusercontent.com%2Fguillep%2FScale%2Fmaster%2FsetupScale.sh\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGf7ZLD4rz5bQGEVp8rDL4mA-BUgg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fraw.githubusercontent.com%2Fguillep%2FScale%2Fmaster%2FsetupScale.sh\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGf7ZLD4rz5bQGEVp8rDL4mA-BUgg&#39;;return true;">https://raw.githubusercontent.com/guillep/Scale/master/setupScale.sh | sudo bash

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 <a href="https://github.com/sbragagnolo/pharo-vm" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fsbragagnolo%2Fpharo-vm\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEvTvUqhdrWtVlO7lgKwZcEg_SJ-w&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fsbragagnolo%2Fpharo-vm\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEvTvUqhdrWtVlO7lgKwZcEg_SJ-w&#39;;return true;">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 <a href="https://github.com/sbragagnolo/MakrosTool" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fsbragagnolo%2FMakrosTool\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFqVDo5GG10-h5hlrQeu-NYNuMEbw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fsbragagnolo%2FMakrosTool\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFqVDo5GG10-h5hlrQeu-NYNuMEbw&#39;;return true;">https://github.com/sbragagnolo/MakrosTool

MakrosTool is an extension of scale that adds a second magical variable for building up component reification in a ROS based environment.
 
 
Santiago & Guille






--
--
http://groups.google.ru/group/sugr
---
Вы получили это сообщение, поскольку подписаны на группу "Russian Smalltalk User Group".
Чтобы отменить подписку на эту группу и больше не получать от нее сообщения, отправьте письмо на электронный адрес [hidden email].
Чтобы настроить другие параметры, перейдите по ссылке https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-dev] [ANN] Scale

Denis Kudriashov

2016-10-24 12:29 GMT+02:00 Victor Metelitsa <[hidden email]>:
Типичный Smalltalk (Pharo/VW/VAST) сам по себе и операционная система, и bash (точнее, нечто лучшее, чем bash), и даже немножко - СУБД.

В самом деле, сравните command line и workspace/playground.

Думаю об этом здесь можно не говорить, все это знают.
Но возможность заменить bash, как он есть смолтолком, это очень интересно. Сейчас альтернатива ему ruby, python и аналоги.

--
--
http://groups.google.ru/group/sugr
---
Вы получили это сообщение, поскольку подписаны на группу "Russian Smalltalk User Group".
Чтобы отменить подписку на эту группу и больше не получать от нее сообщения, отправьте письмо на электронный адрес [hidden email].
Чтобы настроить другие параметры, перейдите по ссылке https://groups.google.com/d/optout.