Hi Alberto:
On 05 Nov 2011, at 23:29, Alberto Bacchelli wrote: > ./myParser -i fileToParse.txt -o outputFile.txt > > Is there any possibility to do that? Can a headless Pharo be a > solution? If so, how can I start and use a headless Pharo? Is there > any useful documentation/email about it? I attached the stuff I currently use. There might be better ways to do it, but the attached code is Squeak 3.9 and Pharo 1.3 compatible... [There might be bugs with regard to saving images and restarting etc. Have not checked whether that is the latest version of the code. But should be good enough to get an idea, and might be sufficient for your use case.] The HelloWorld class should get you started. On OSX you would need a fairly new VM, I think. The old ones did not play nice with the command-line. The hello world should look like this: $ your-vm-binary -headless your.image HelloWorld foo bar baz
Scripting.st
Description: Binary data
Best regards Stefan -- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525
