News for hackers. Stuff that matters.
Re:Pharo 7.0 released by igouy on Tuesday January 22, 2019 @02:46PM (#18971696)
> How do I run a "hello world" program from the command line?

You can load and run a smalltalk source file, at the OS command-line, something like —

    ./pharo Pharo.image st helloworld.st 
You can pre-load smalltalk source files, save a memory image, and use default startup behavior to run the saved bytecode —

    ./pharo helloworld.image
> deploy that to another machine

It's just moving files (VM + bytecode image) so — rsync, ssh

Re:Pharo 7.0 released by igouy on Tuesday January 22, 2019 @06:55PM (#18974155)
> I just want a "hello world" example to get an idea what I am actually dealing with.

iirc something like —

    FileStream stdout nextPutAll: 'Hello, world'; cr.
Re:Pharo 7.0 released by scroot on Tuesday January 22, 2019 @11:43PM (#18975731)
You can do something like: `Stdio stdout nextPutAll: 'Hello, World!'.`
Re:Pharo 7.0 released by igouy on Wednesday January 23, 2019 @08:46AM (#18978021)
Are you suggesting that `FileStream stdout` doesn't work, or that using `Stdio stdout` is in some way better, or that `nextPutAll:` will add a newline, or that … ?
Re:Pharo 7.0 released by scroot on Wednesday January 23, 2019 @04:39PM (#18983329)
I think `FileStream` is deprecated in the new version of Pharo.
Re:Pharo 7.0 released by igouy on Thursday January 24, 2019 @01:03PM (#18991144)
Thanks.