From: Markus Klotzbuecher <[email protected]> Subject: Re: [Chicken-users] No... but it is... interesting... Date: Fri, 11 Mar 2011 08:54:57 +0100
> On Thu, Mar 10, 2011 at 09:15:15AM -0500, Felix wrote: >> >> This announces the availability of "SPOCK", a Scheme->JavaScript >> compiler and runtime system. It can statically compile >> really-nearly-mostly R5RS-Scheme to JS or can be used to dynamically >> generate code from s-expressions (say, in a web-server or CGI >> application). Tail-calls and first-class continuations are fully >> supported. >> >> It is slow, buggy, barely tested and stresses JavaScript engines in >> unexpected ways. It doesn't run on IE, of course (this will be >> addressed, someday). Documentation is not complete yet. >> >> If your browser supports <canvas> tags, you can try: >> >> http://www.call-with-current-continuation.org/spock/threads.html >> >> This application draws some graphics in call/cc-based coroutines, >> the source to this is here: >> >> http://www.call-with-current-continuation.org/spock/threads.scm >> >> The test-suite can be run at: >> >> http://www.call-with-current-continuation.org/spock/test.html >> >> Note that running this this takes a while and might trigger a >> browser warning. Just continue executing it until it either >> errors out or runs to completion. >> >> Initial documentation can be found here: >> >> http://wiki.call-cc.org/egg/spock > > Very nice! Could this be used to interact with Qt QML and Quick? I haven't used these, but if QML is ECMA-Script-compliant, I see no reason why it shouldn't work. I would be very interested in the results, in case you are going to try it out! cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
