Hacker News new | ask | show | jobs
Smalltalk Hello World (2006) (wiki.c2.com)
3 points by ggcr 272 days ago
2 comments

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!
@ggcr The wiki page shows about 80 long lines of comment.

What in particular do you think we should look-at and what would you like us to learn from that?