Diego Gomez Deck
DiegoGomezDeck at consultar.com
Wed Aug 2 13:39:03 UTC 2006
To take full benefit of current internet browsers, tons of lines of
We (the Smalltalkers) don't like to edit files to program, we want to
code in the refactoring browser!
You can find an entry for the project at SqueakMap and SqueakSource...
Most of the times the newer version resides on Squeaksource.
The current version allows to host a TestRunner on browsers, full
written in Smalltalk code (and translated to JS). It also includes a
set of "base" classes to simulated an small Smalltalk environment.
Inspectors are also available.
You can see how the TestRunner looks at:
Also, just in case you don't want to install the package, you can see an
HTML (full generated from Squeak) including the generated JS code at:
More information (in Spanish) is available from:
Most of the Smalltalk semantic is respected in the translator, the
current absences are:
- Support for class variables.
- Support for instance-class variables.
- Support for "super" in class-methods. (super works fine in instance
All these points can be solved, and they will as soon as I need them.
BTW any collaboration is accepted ;-)
The generated code runs fine in Firefox 1.5, IE and Konqueror (May be it
also works on Safari). It doesn't work on Opera.
My next goal is to create a set of widgets, for the browsers, using
ST2JS for the JS production and my previos Comet project to mount an
Observer-pattern distributed between Squeak and the internet browsers.
I think there are a good set of interesting things to try, like:
- Port the Spoon minimal set of objects to JS. (I mean, translate ST to
JS). The performance will be awful, but every internet-browser can be
converted in a Smalltalk environment!
More information about the Seaside