Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Smalltalk Hello World (2006) (c2.com)
3 points by ggcr 6 months ago | hide | past | favorite | 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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: