Where does the Squeak VM start?

Chris Burkert christian.burkert at s2000.tu-chemnitz.de
Wed Mar 19 09:57:03 UTC 2003


Robert M. Solovay wrote:
> Suppose I fire up the squeak executable on the given squeak image [which
> in my case is Squeak3.4.image. I want to know what's the analog of main()
> in C. I presume there is some initial object and message such that the VM
> is started dealing with that object recieving that message. But what are
> they?

You can register a class with SystemDictionary>>addToStartUpList:. This 
class must provide a method named startUp.

Regards
            Chris Burkert
-- 
------------------------------------------------------------------------
Student of applied Computer Science at Chemnitz University of Technology
      http://www.chrisburkert.de/            chris at chrisburkert.de
------------------------------------------------------------------------
"I invented the term Object-Oriented, and I can tell you I did not have
  C++ in mind." - Alan Kay --> http://www.whysmalltalk.com/



More information about the Squeak-dev mailing list