3 ms·
With any programming language there's a lot of introductory tutorial before we even start to type "hello world". ~$ ./visual ./visualnc64.im -nogui -doit "
by igouy 4y ago
With any programming language there's a lot of introductory tutorial before we even start to type "hello world".
~$ ./visual ./visualnc64.im -nogui -doit "Stdout nextPutAll: 'hello world'; cr. ObjectMemory quit"
hello world
~$
— or something like —
$ cat hello.st
Stdio stdout
nextPutAll: 'hello world';
nextPut: Character lf.!
SmalltalkImage current snapshot: false andQuit: true!
$ bin/pharo --headless Pharo10-SNAPSHOT-64bit-502addc.image hello.st