Thanks I ended up going in this direction sort of.
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
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
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
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
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