21st Century Smalltalk

March 17, 2007

Smalltalk - Lisp Symmetric Conversions

Filed under: Lisp, Smalltalk Language — pfisk @ 7:00 pm

lisptest18
Vista Smalltalk Site

Open Vista Smalltalk in your browser.

The latest ClassBrowser has a button at the top for selecting Smalltalk or Lisp syntax. The above image shows the same method presented as Lisp code and Smalltalk code - the format can be changed dynamically by clicking the “Lisp-Smalltalk” button.

Internally, all methods are stored as Lisp s-expessions which are converted to text asrequired by the ClassBrowser - there is no stored “source text”. Whether you see the code as Lisp or Smalltalk depends upon whether the method’s s-expression is converted to text by the LispFormatter or the SmalltalkFormatter.

This feature doesn’t yet work for all Smalltalk statements - there are still a few more days of work before it is ready for comprehensive testing.

9 Comments »

  1. Hi Peter,

    amazing! What an endeavor. Smalltalk in Flash. :-) Fascinating!
    I´m not sure to understand the architecture. You reimplemented the virtual machine from Blue Book in Action Script? Or you ported Squek? And what has Lisp to with it? A few words clarifying this would be nice.

    Regards Thomas

    Comment by Thomas H. — March 19, 2007 @ 8:49 pm

  2. Hi Thomas,

    My next post will describe the architecture overview.

    Comment by pfisk — March 20, 2007 @ 2:53 pm

  3. Hello Peter,

    thank you for the new post. Yes now it is a little bit clearer. This is a revolutionary step for Smalltalk. This leverages the new web paradigms of .Net and Flex. :-)

    I tried to connect Flex with Visual Age Smalltalk trough the FlashBrige
    http://labs.adobe.com/wiki/index.php/Flex_Framework:FABridge
    with AJAX Style. Well this worked to a certain point. But it looks like Adobe is not investing much in the FlashBridge.
    Although I´m using Smalltalk for about 15 years, I would not come up with this idea interpreting Smalltalk directly in Flash…

    Well, I see you have a big vision: nothing less than world domination ;-)

    Regards Thomas

    Comment by Thomas H. — March 20, 2007 @ 10:12 pm

  4. It’s either world domination or falling flat on my face.

    I’m still not sure which it will be :)

    Comment by pfisk — March 20, 2007 @ 10:27 pm

  5. Peter,

    LOL!

    yes genius and insanity are nearly the same…

    Er - when will the product be ready? I would like to buy a copy… :-)

    Thomas

    Comment by Thomas H. — March 20, 2007 @ 10:39 pm

  6. Thomas,

    There will be an SDK ($29) ready in a couple of weeks.

    Comment by pfisk — March 21, 2007 @ 1:38 pm

  7. Will the Flash edition of Vista Smalltalk be useful in implementing the following application?

    I am planning to write a Flash based Wizard-type application that will need to collect and process user data. It will also need to incorporate sound and - later - video.

    The 200-300 instance slides will be based on three or four template or prototype slides, and what will change will be merely some texts, images, and audio tracks, but the layout will be identical, depending on which of the three or four slides will be utilized as a factory object for that particulate instance slide.

    I want to avoid creating each of the instance slides manually, i.e. interactively in the Flash IDE. Instead, I would rather create the instance slides programmatically. Can I create such an application with Vista Smalltalk? What about licensing, will I be able to package the application with all necessary Smalltalk classes and distribute the application commercially?

    TIA,
    Elan

    Comment by Elan — April 6, 2007 @ 3:54 pm

  8. The Vista Smalltalk runtime and classes are free - you can distribute them as you want.
    There will be tools and source packages available for purchase, but they are not required to build and distributed a project.

    Perhaps if you can send me some more detailed info in a couple of weeks, I can build a demo similar to what you have in mind. I am sure that many people have requirements that are similar to yours.

    – Peter

    Comment by pfisk — April 6, 2007 @ 8:23 pm

  9. The old order. You can see
    here

    Comment by anelaescony — October 4, 2007 @ 9:46 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.