tag:blogger.com,1999:blog-10460112.post3661480159203035794..comments2023-05-31T06:39:38.336-07:00Comments on Dr. Vanessa Freudenberg: SqueakJS: A Lively Squeak VMVanessahttp://www.blogger.com/profile/05353637548899091553noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-10460112.post-21474874887224145152014-04-21T23:33:18.897-07:002014-04-21T23:33:18.897-07:00Yes. That is how the copy logic works, for example...Yes. That is how the copy logic works, for example. Inside the ctrl-c keyboard handler JS generates a Squeak keyboard event, and then runs the interpreter until the image has called the clipboard primitive. Then the JS takes the clipboard data produced by Squeak and returns control to the browser. <br /><br />See onCopy() in the Display morph. Vanessahttps://www.blogger.com/profile/05353637548899091553noreply@blogger.comtag:blogger.com,1999:blog-10460112.post-74852197857117689882014-04-21T19:46:55.589-07:002014-04-21T19:46:55.589-07:00From what you said ("Calling into Squeak"...From what you said ("Calling into Squeak"), I'll refine my question to: from Lively Kernel, your Squeak VM loads a mini image that in turn, may kick an internal ST process to do some work in the Squeak space and when done, return the control flow to Lively Kernel?Carlos Crosettihttps://www.blogger.com/profile/02954092359024770199noreply@blogger.comtag:blogger.com,1999:blog-10460112.post-28292820743505834942014-04-20T17:18:37.951-07:002014-04-20T17:18:37.951-07:00Thanks Bert, as you said. it would be nice to have...Thanks Bert, as you said. it would be nice to have the first option you mention, to call Squeak from JS so one can leverage existing ST code.Carlos Crosettihttps://www.blogger.com/profile/02954092359024770199noreply@blogger.comtag:blogger.com,1999:blog-10460112.post-39789821783996652872014-04-14T14:57:45.412-07:002014-04-14T14:57:45.412-07:00Hi Carlos, I'm not sure what you mean by "...Hi Carlos, I'm not sure what you mean by "without an image". Writing a primitive to a allow calling out to JS would be pretty simple. Calling into Squeak would be a bit harder, but not much. I don't intend to work on that any time soon though - you're welcome to make it work :)Vanessahttps://www.blogger.com/profile/05353637548899091553noreply@blogger.comtag:blogger.com,1999:blog-10460112.post-10919777995382797502014-04-13T20:32:20.334-07:002014-04-13T20:32:20.334-07:00Awesome work Bert, How close (or far) you are in d...Awesome work Bert, How close (or far) you are in deliverying a Lively Kernet where ST and JS can be written and clalled each other without the need of an image?Carlos Crosettihttps://www.blogger.com/profile/02954092359024770199noreply@blogger.comtag:blogger.com,1999:blog-10460112.post-52189595551065681512014-03-28T09:05:33.340-07:002014-03-28T09:05:33.340-07:00I wonder if scratch 2.0 switches to flash due to w...I wonder if scratch 2.0 switches to flash due to web browser support. <br /><br />Now with squeak running on top of javascript, would scratch come back to its squeak origin?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-10460112.post-43422044792032610942013-12-23T07:23:52.008-08:002013-12-23T07:23:52.008-08:00Makes me wonder if the Newton OS couldn't be m...Makes me wonder if the Newton OS couldn't be made to run similarly. ;-)Carl Gundelhttp://www.runbasic.comnoreply@blogger.com