Hi Felix,

On Thu, 10 Mar 2011 09:15:15 -0500 (EST) Felix 
<[email protected]> 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.

Awesome!


> 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

Very cool!


>   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.

I've got three failures here on Firefox 3.6.15, Chrome 6.0.472.62 and
Arora 0.10.2 (webkit 532.4):

  (eq? car car) FAIL
  (not (eq? (quote bitBlt) (string->symbol "bitBlt"))) FAIL
  (not (string->number "1e3" 16)) FAIL

Here are the full outputs, in case you want to take a look:

http://parenteses.org/mario/misc/spock-test-suite-firefox.txt
http://parenteses.org/mario/misc/spock-test-suite-chrome.txt
http://parenteses.org/mario/misc/spock-test-suite-arora.txt


Best wishes.
Mario
-- 
http://parenteses.org/mario

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to