21st Century Smalltalk

February 15, 2007

Four Environments

Filed under: Vista Smalltalk — pfisk @ 10:10 pm

multidemo1
Vista Smalltalk Site

In this screenshot, Vista Smalltalk sessions are running in four different environments. Clockwise from the top left, they are:

  • in a desktop window on Windows Vista (using .Net libraries)
  • in a Firefox browser (using Flash libraries)
  • in an Opera browser (using Flash libraries)
  • in an IE7 browser (using .Net libraries)

When Microsoft releases WPF/e with .Net support and Adobe releases the Apollo desktop environment, the number of Vista Smalltalk environments will get even larger.

I am working to make the visual appearance and the programming model as similar as possible across all possible platforms.

Mapping Flash Classes

Filed under: Adobe, Lisp — pfisk @ 9:40 pm

lisptest8
Vista Smalltalk Site

I have implemented “mapped classes” in Flash in a very similar way to what I used for .Net. Mapped classes associate the native classes of the underlying platform (.Net, Flash, Java) to the classes used by the Vista Smalltalk interpreter.

The above image shows the class hierarchy for “SizeableTitleWindow” which is the class of the windows used for the “virtual desktop”. On the right-hand side is a “Lisp Workspace” with a highlighted expression “(@open SizeableTitleWindow)”; below it is the result (moved and resized) of evaluating the expression.

There still remains the issue of adding callbacks for Flash events – I hope to have it working in another day or so. After that, I should be able to create some interesting Flash demos programmed in Lisp.

Click here to open the Lisp browser environment (requires Flash 9.0).

Blog at WordPress.com.