The Vista Smalltalk Flash version now reads an initialization file on startup to build the class hierarchy, which is shown above in the ClassBrowser. Today, I will be adding methods to the initialization file in preparation for some messaging tests.
This is day 12 of porting Vista Smalltalk to the ActionScript/Flash environment and things are proceeding much faster than I had expected – the main thing taking time is that I have to learn the Flash graphics model as I do the coding.
Here is a link to the latest build – the binary is about 275kb in size and, on my machine, loads incredibly fast from the site.
Lisp code for loading simple classes is below:
(println "loading startup.lisp...")
(add-subclass 'Object 'Boolean)
(add-subclass 'Boolean 'False)
(add-subclass 'Boolean 'True)
(add-subclass 'Object 'Collection)
(add-subclass 'Collection 'Dictionary)
(add-subclass 'Collection 'OrderedCollection)
(add-subclass 'OrderedCollection 'Array)
(add-subclass 'OrderedCollection 'Cons)
(add-subclass 'Object 'Context)
(add-subclass 'Context 'Block)
(add-subclass 'Context 'MethodContext)
(add-subclass 'Object 'Magnitude)
(add-subclass 'Magnitude 'Number)
(add-subclass 'Object 'UserApps)
(add-subclass 'Object 'Utility)
(add-subclass 'Object 'Views)
(println "load complete")
