I haven't used Gambit Scheme lately, but wow, that is a great idea. I hadn't thought of it! I have worked a lot with asm.js, and I noticed that it's failing to run with asm.js because it uses setjmp/longjmp. I know that Alon is working on getting that to work with emscripten. I wonder how much work it would be to get all of Gambit working with asm.js.

This might make me want to start hacking on Gambit again!




On Sun, Jun 9, 2013 at 4:52 AM, Ralph Moritz <ralph.moeritz@outlook.com> wrote:
On Sun, 09 Jun 2013 10:47:39 +0200, Marc Feeley <feeley@iro.umontreal.ca>
wrote:

> I have been experimenting with the emscripten C to JavaScript compiler.
> I have used it to compile the Gambit interpreter into JavaScript.  This
> allows the Gambit interpreter to run in the browser!  Just direct your
> browser to
>
>     http://feeley.github.io/gambit-in-the-browser
>
> Be patient... it can take 30 seconds to a minute to load the page
> (there's about 11 MB of JavaScript code).  Use a fast JIT based browser
> if possible (Firefox or Chrome have been tested).

Very nice work Marc!

--
Is it possible that software is not like anything else, that it is meant
to be discarded: that the whole point is to see it as a soap bubble? --
Alan Perlis
_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list