Hello:

I just try to get started with Pharo to experiment with some  
benchmarks and would be grateful for some basic hints, since the  
documentation on pharo-project.org is not to excessive.

As far as I read in the documentation of the language shootout[1], I  
will need the OSProcess package.

How can I load this package into the image downloaded from p-p.org?



My second problem is to execute code from the command line.
I tried a simple example file
$ cat test.sq
Transcript open; cr; show: 'Hello, world'.

$ Squeak\ 4.2.1beta1U.app/Contents/MacOS/Squeak\ VM\ Opt  
pharo1.0-10418-BETAdev09.08.3.image test.sq


But this only leads to a debugger popping up in installSourceFile  
saying "No content to install". Looks like aStream is nil which should  
have the data loaded from file:test.sq



Any pointers to documentation which might discusses command line  
related features are very welcome.
I actually just need a way to choose a benchmark to be executed from  
the commandline.
The actual code could already be in the image.

Many thanks and best regards
Stefan

[1] 
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=squeak&lang2=squeak

-- 
Stefan Marr
Software Languages Lab
Former Programming Technology Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://prog.vub.ac.be/~smarr
Phone: +32 2 629 3956
Fax:   +32 2 629 3525

-- 
Stefan Marr
Software Languages Lab
Former Programming Technology Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://prog.vub.ac.be/~smarr
Phone: +32 2 629 3956
Fax:   +32 2 629 3525


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to