Hi!
"Ralph Johnson" johnson@cs.uiuc.edu wrote:
- Is there such a thing as command line squeak? Such that I can create my
objects, then put the basic program logic in a file and fire it off from the command line?
Sort of. You can create a specialized image that you can execute from the command line. But it isn't a text file.
Yes, the image is like a "snapshot" of RAM with live objects in it. So an image is not the same thing as for example a jar-file in the Java world which is just a bunch of class definitions - not objects.
BUT... you can still start the Squeak VM with an image AND a "script" file fed into it on the command line. The VM then starts the image which in turn has standard mechanisms to examine the command line starting it, extracting arguments and possible opening, compiling and executing Smalltalk statements found in a file given as a URI on the command line.
regards, Göran