Hi all ;-)
I'm pretty new to Squeak, and am just trying to assess what I can do. I know there's a web browser for Squeak, but I was wondering if there is any way to handle Javascript in this environment at all? It seems not... is there a reason for that? I would love to run GoogleMaps from within the Squeak environment. If it is not implemented, what would it take to get it done? Cheers, ikem.star _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
You have to write a javascript interpreter - lots of work.
On Nov 3, 2007, at 7:22 PM, Ikem Nzeribe wrote: > Hi all ;-) > > I'm pretty new to Squeak, and am just trying to assess what I can do. > I know there's a web browser for Squeak, but I was wondering if there > is any way to handle Javascript in this environment at all? It seems > not... is there a reason for that? I would love to run GoogleMaps from > within the Squeak environment. If it is not implemented, what would it > take to get it done? > > Cheers, > > ikem.star > _______________________________________________ > Beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by Ikem Nzeribe
Hi Ikem,
I believe you are looking for Seaside. Seaside supports Ajax. Have a look at www.seaside.st . You get all the JavaScript you want plus more! Hmm, I was just reading your email more carefully. So to be clear this would give you the ability to use an external browser to access a Squeak Server running Seaside. That browser can then access squeak, render widgets, windows, google maps... You can "embed" an external browser into squeak by using a RFB window running in Squeak, but this only gives you VNC like capabilities (which means you need to have a browser running on a server for each connection). There is also Dan's work which allows you to run squeak in JavaScript: http://news.squeak.org/2007/10/05/dans-the-man-check-out-dan-ingalls-work-sq ueak-in-javascript/ but again this may be opposite of what you are asking. If indeed you need to control Google maps on a widget in Squeak you might have to write the conversation yourself. Oh and I found this, but I've never used it so your mileage may vary. http://www.squeaksource.com/ST2JS.html Happy Coding! Ron Teitelbaum President / Principal Software Engineer US Medical Record Specialists www.USMedRec.com > -----Original Message----- > From: [hidden email] [mailto:beginners- > [hidden email]] On Behalf Of Ikem Nzeribe > Sent: Saturday, November 03, 2007 10:22 PM > To: [hidden email] > Subject: [Newbies] Smalltalk & Javascript > > Hi all ;-) > > I'm pretty new to Squeak, and am just trying to assess what I can do. > I know there's a web browser for Squeak, but I was wondering if there > is any way to handle Javascript in this environment at all? It seems > not... is there a reason for that? I would love to run GoogleMaps from > within the Squeak environment. If it is not implemented, what would it > take to get it done? > > Cheers, > > ikem.star > _______________________________________________ > Beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by tblanchard
Actually, there is one in OMeta if I'm informed correctly. And "lots
of work" depends on your tools, that implementation of js is rumored to be incredibly small. - Bert - On Nov 4, 2007, at 3:55 , Todd Blanchard wrote: > You have to write a javascript interpreter - lots of work. > > On Nov 3, 2007, at 7:22 PM, Ikem Nzeribe wrote: > >> Hi all ;-) >> >> I'm pretty new to Squeak, and am just trying to assess what I can do. >> I know there's a web browser for Squeak, but I was wondering if there >> is any way to handle Javascript in this environment at all? It seems >> not... is there a reason for that? I would love to run GoogleMaps >> from >> within the Squeak environment. If it is not implemented, what >> would it >> take to get it done? >> >> Cheers, >> >> ikem.star >> _______________________________________________ >> Beginners mailing list >> [hidden email] >> http://lists.squeakfoundation.org/mailman/listinfo/beginners > > _______________________________________________ > Beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Yeah, but you still have to implement the standard DOM and integrate
it into the interpreter - still lots of work. On Nov 4, 2007, at 3:00 PM, Bert Freudenberg wrote: > Actually, there is one in OMeta if I'm informed correctly. And > "lots of work" depends on your tools, that implementation of js is > rumored to be incredibly small. > > - Bert - > > On Nov 4, 2007, at 3:55 , Todd Blanchard wrote: > >> You have to write a javascript interpreter - lots of work. >> >> On Nov 3, 2007, at 7:22 PM, Ikem Nzeribe wrote: >> >>> Hi all ;-) >>> >>> I'm pretty new to Squeak, and am just trying to assess what I can >>> do. >>> I know there's a web browser for Squeak, but I was wondering if >>> there >>> is any way to handle Javascript in this environment at all? It seems >>> not... is there a reason for that? I would love to run GoogleMaps >>> from >>> within the Squeak environment. If it is not implemented, what >>> would it >>> take to get it done? >>> >>> Cheers, >>> >>> ikem.star >>> _______________________________________________ >>> Beginners mailing list >>> [hidden email] >>> http://lists.squeakfoundation.org/mailman/listinfo/beginners >> >> _______________________________________________ >> Beginners mailing list >> [hidden email] >> http://lists.squeakfoundation.org/mailman/listinfo/beginners > > _______________________________________________ > Beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/beginners _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
In reply to this post by Bert Freudenberg
Bert Freudenberg wrote:
> Actually, there is one in OMeta if I'm informed correctly. And "lots > of work" depends on your tools, that implementation of js is rumored > to be incredibly small. > > - Bert - > Smalltalk/X includes a Javascript to Smalltalk bytecode compiler. I don't know if they have a DOM or what the license is but it would be worth looking at if one wanted to implement such a thing... David _______________________________________________ Beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/beginners |
Free forum by Nabble | Edit this page |