Re: [Pharo-users] Simplest 'REPL'

2017-12-09 Thread Seth
Thanks I ended up going in this direction sort of. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] Simplest 'REPL'

2017-12-09 Thread Tudor Girba
Hi, I would encourage you to simply extend the inspector. Something like this: MyEvaluator>>gtInspectorEvaluateIn: composite composite text title: ‘Evaluator’; populate: #selection iconName:#glamorousGo entitled: ‘Evaluate' with: [ :textPresentati

Re: [Pharo-users] Simplest 'REPL'

2017-12-09 Thread Ben Coman
On 9 December 2017 at 07:04, cheshirecatalyst wrote: > I've recently picked up pharo, and am writing a small interpreter for a > trivial language the details of which are unimportant. However I am looking > for the simplest way to avoid having to use playground and Transcript to do > something li

Re: [Pharo-users] Simplest 'REPL'

2017-12-09 Thread H. Hirzel
I understand that you want to write a tool with an input field and an output field and a button 'Evaluate'. Is this correct? If yes you need to learn a little bit of Spec to construct your own tool. Have a look at the examples for Spec in the help system. There is also a booklet about Spec. ht

[Pharo-users] Simplest 'REPL'

2017-12-08 Thread cheshirecatalyst
I've recently picked up pharo, and am writing a small interpreter for a trivial language the details of which are unimportant. However I am looking for the simplest way to avoid having to use playground and Transcript to do something like | reader eval | reader := MyReader from: 'some stuff in my