Hacker News new | ask | show | jobs
by igouy 271 days ago
With a previous Pharo version:

    $ bin/pharo --headless Pharo10-SNAPSHOT-64bit-502addc.image hello.st
pharo is the unchanged VM (like the JVM).

Pharo10-SNAPSHOT-64bit-502addc.image is the unchanged distro image file.

hello.st is a plain text file, the hello world program.

    $ cat hello.st
    Stdio stdout 
        nextPutAll: 'hello world'; 
        nextPut: Character lf.!
    SmalltalkImage current snapshot: false andQuit: true!