top | item 45225259

Smalltalk Hello World (2006)

3 points| ggcr | 5 months ago |wiki.c2.com

2 comments

order

igouy|5 months 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!

igouy|5 months ago

@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?