|
Re: Very Basic Squeak information: msg#00145lang.smalltalk.squeak.beginners
Hi! "Ralph Johnson" <johnson@xxxxxxxxxxx> 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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Very Basic Squeak information, Ralph Johnson |
|---|---|
| Next by Date: | Image vs. source code (was Re: Very Basic Squeak information), Bert Freudenberg |
| Previous by Thread: | Re: Very Basic Squeak information, Ralph Johnson |
| Next by Thread: | Image vs. source code (was Re: Very Basic Squeak information), Bert Freudenberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |