Test output for spock [ok]
Testing time: 0s
/home/mario/local/chicken-4.8.0.3/bin/csi -script run.scm < /dev/null Generating some trivial JS: <script type='text/javascript' src='spock-runtime-debug-min.js'></script> <script type='text/javascript'> /* CODE GENERATED BY SPOCK 0 */ var t2 = function (k1) { return ___print(k1, 7); }; SPOCK.run(t2); SPOCK.flush(); /* END OF GENERATED CODE */ </script> Using `bind': /* CODE GENERATED BY SPOCK 0 */ var t23 = function (k16) { var t14 = "abc"; var t25 = SPOCK.jstring(t14); var t24 = $(t25); return ___print(k16, t24); }; SPOCK.run(t23); var t27 = function (k17) { var t28 = Math.sin(42); return ___print(k17, t28); }; SPOCK.run(t27); var t30 = function (k18) { var t31 = function (t20) { var t32 = gurgle(t20, 1); var t19 = t32; return ___print(k18, t19); }; return ___vector(t31, "yes", "no"); }; SPOCK.run(t30); var t35 = function (k21) { return ___print(k21, yes); }; SPOCK.run(t35); var t37 = function (k22) { var t15 = ___x; var t38 = SPOCK.jstring(t15); one.two = t38 return k22(undefined); }; SPOCK.run(t37); SPOCK.flush(); /* END OF GENERATED CODE */