[squeak-dev] Squeak REPL (was Re: Windows, stdin, stdout)

Eliot Miranda eliot.miranda at gmail.com
Thu Apr 12 08:35:08 UTC 2018


Hi Chris, Hi BenoƮt,

> On Apr 8, 2018, at 5:13 PM, Chris Muller <asqueaker at gmail.com> wrote:
> 
> On Sun, Apr 8, 2018 at 3:28 PM, Benoit St-Jean via Squeak-dev
> <squeak-dev at lists.squeakfoundation.org> wrote:
>> Just to give my 2 cents on the subject, when I started this thread I was
>> just asking for an easy way to have an interactive headless console
>> application.
> 
> Start a server on localhost which can then accept commands from one or
> more terminals or elsewhere.  This is how Magma and many other
> applications work.  Multi-user and modal-less.
> 
>> Quite frankly, I never had the need to compile Smalltalk expressions from a
>> prompt and I've never seen the benefits of it.  If one wants to execute
>> Smalltalk code, we do have the capability to do it by providing a script as
>> an argument!  Yes, it's quite nice to be able to do so when you want to show
>> off how cool is Smalltalk but is there any *real* use for such a
>> functionality?  I doubt it!
> 
> +1.

You've probably seen this in the other thread.  Forgive me; I don't mean to say "I told you so", and the REPL that I did implement is for my own usage, in which I find it much more convenient than scripts.  But I don't like to see useful things shot down.

> On Apr 12, 2018, at 1:16 AM, Sven Van Caekenberghe <sven at stfx.eu> wrote:
> 
>> On 12 Apr 2018, at 03:15, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>> 
>> Hi Sven,
>> 
>> On Wed, Apr 11, 2018 at 1:25 PM, Sven Van Caekenberghe <sven at stfx.eu> wrote:
>> 
>>> On 11 Apr 2018, at 21:44, Stephane Ducasse <stepharo.self at gmail.com> wrote:
>>> 
>>> I did not know about the NeoConsole. Nice because I wanted to build a
>>> little REPL for my minilanguage implementation.
>> 
>> You are of course welcome to look at it.
>> But it is Pharo specific.
>> I use it to be able to hook/look into running headless server images.
>> For this it is super handy.
>> 
>> Cool usage!  Could you tell me whether you type Smalltalk expressions into this to examine your running server?  The answer will be used in a related discussion on a mailing list not too distant from this one ;-)
> 
> Yes of course, that it the whole purpose, to type in expressions and to manipulate objects in a running image. I recently added options to look at code and change/add methods. All very primitive, but when in trouble, it works well.

So it turns out to be very useful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180412/aab42d99/attachment-0001.html>


More information about the Squeak-dev mailing list