[Seaside] Graphing in Javascript

Blanchard, Todd tobl at amazon.com
Fri Dec 16 20:39:58 CET 2005


And there's the babel thing in croquet - I ported it to Squeak proper but it isn't really complete - it chokes on a number of common constructs.

Of course, if you want to *run* JS, I think building a spidermonkey plugin/bridge is the way to go. 

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Colin Putney
Sent: Friday, December 16, 2005 8:40 AM
To: renggli at iam.unibe.ch; The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] Graphing in Javascript

Lukas Renggli wrote:

> I once saw a demo of a JavaScript parser/visitor that worked on the 
> Smalltalk AST, I don't know if that would be useful?

Not sure if this is what you're referring to, but there is Smee (Smalltalk ECMAScript Engine) which is a Javascript-to-VW-Bytecode compiler. It would be a bit of work to port to Squeak, since does some pretty low-level things for performance.

On the other hand, it does have a nice Javascript parser, AST and visitor, which might be interesting to use. Just that portion would probably be fairly easy to port, and it might provide the basis for a nice way to programmatically create Javascript.


_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the Seaside mailing list