chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] No... but it is... interesting...


From: Felix
Subject: [Chicken-users] No... but it is... interesting...
Date: Thu, 10 Mar 2011 09:15:15 -0500 (EST)

Hello!


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


Live long and prosper.


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]