4 ms·
There's literally a command-line example (although it doesn't print Hello world, but the factorial of 42) on their front page. That said, Smalltalk isn't somet
by detaro 8y ago
There's literally a command-line example (although it doesn't print Hello world, but the factorial of 42) on their front page.
That said, Smalltalk isn't something you use from the commandline typically, or only during deployment or for applying external automation. The GUI environment is fairly key.
- igouy 8y agoNo. The website front page does not show a Pharo program being invoked from the OS command-line and using stdio.
- Godel_unicode 8y agoYes it does. The below is copied from the 'A glimpse of Pharo' section. """ $ curl https://get.pharo.org https://get.pharo.org | bash $ ./pharo Pharo.image eval "42 factorial" """
- igouy 8y agoAre we to understand that: — nobody hit the Enter key? — the program does nothing? — the program does something but there was no output? — there was output but not to stdout? etc etc
- andrewl 8y agoFrom the home page, in the A glimpse of Pharo section: $ curl https://get.pharo.org | bash $ ./pharo Pharo.image eval "42 factorial"
- igouy 8y agoWhich apparently does nothing.
- vvillena 8y agoI got 1405006117752879898543142606244511569936384000000000 on my command line after running those commands.