Ideal Smalltalk Implementation

I prefer to interact with programming languages ​​through a standard bash terminal. Although Squeak and Pharo are well documented, they do not seem to have a CLI, but just a VM GUI.

GNU Smalltalk and Slate have a common CLI, but no installers for Linux, Mac, or Windows β€” and they require a complex MSYS configuration on Windows.

There seems to be no Smalltalk implementation that has both a CLI and multi-platform installers. I would like to choose this language, but I can not find Smalltalk that suits me.

Do Squeak and Pharo have CLI secret modes? Does anyone know where the GST or Slate installers are located? Are there other free, open source Smalltalks that have these two features?

+4
source share
2 answers

Yes, Faro has a "secret" CLI mode. It is called Coral .

+5
source

Continuing Lucas' answer, here's a script to load Coral into Squeak:

Installer ss project: 'OSProcess'; install: 'OSProcess-dtl.63'. Installer ss project: 'rb'; install: 'AST-Core-lr.88'. Installer lukas project: 'petit'; install: 'PetitParser-lr.218'; install: 'PetitTests-lr.34'; install: 'PetitSmalltalk-lr.47'. Installer ss project: 'fs'; install: 'FS-Core-StephaneDucasse.4'; install: 'FS-AnsiStreams-cwp.1'; install: 'FS-FileStream-cwp.1'; install: 'FS-Disk-cwp.1'. Installer ss project: 'CoralSqueak'; install: 'Coralsqueak-fbs.2'; install: 'Coral-fbs.55'. 

This is based on the upcoming version of Coral (Damien has just begun remodeling parts of Coral) and adds a few Squeak methods that Coral expects.

After installation, follow the standard instructions:

 SmalltalkImage current saveAs: 'coral.image'. CoralInstaller generateCoralScript. CoralInstaller generateCoralDebugScript. "Optionally: CoralInstaller generateAllExamples." 

And then from the command line:

 $ chmod +x coral.sh coralDebug.sh $ ./coral.sh scriptCarpet.cst 
+4
source

All Articles