Hi Eliot,
I went back to Benoit's words to look for what may have caused negative feelings to emerge. My guess is it must be the last two sentences. From what I know of you, you're in my "friend" psyche, and I read your words in that context. Try to read Benoit's expression of doubt as merely an invitation for someone to please provide some enlightenment. He did say it was "cool," to which I agree, and no one wants to shoot down cool. I want to learn. Please allow me to inquire the circumstances about when a Smalltalk REPL would be useful, and be _necessarily critical_ of that usefulness, without taking it personally but by further enlightenment; which, you did. :)
I'm sincerely intrigued by Smalltalk REPL's, but still skeptical that *I* would have the patience to use them given all the other tools at my disposal; VNC, error-handling, logging, intercepting kill signals, etc. That does not mean it is not useful for others or in other contexts, though.
- Chris
On Thu, Apr 12, 2018 at 3:35 AM, Eliot Miranda eliot.miranda@gmail.com wrote:
Hi Chris, Hi BenoƮt,
On Apr 8, 2018, at 5:13 PM, Chris Muller asqueaker@gmail.com wrote:
On Sun, Apr 8, 2018 at 3:28 PM, Benoit St-Jean via Squeak-dev squeak-dev@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@stfx.eu wrote:
On 12 Apr 2018, at 03:15, Eliot Miranda eliot.miranda@gmail.com wrote:
Hi Sven,
On Wed, Apr 11, 2018 at 1:25 PM, Sven Van Caekenberghe sven@stfx.eu wrote:
On 11 Apr 2018, at 21:44, Stephane Ducasse stepharo.self@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.