Skip to content
hrundik edited this page Dec 25, 2010 · 2 revisions
var parser:SchemeParser = new SchemeParser();
var expr:* = parser.parse("
(let ((v (make-vector 5)))
	(for-each (lambda (i)
				(vector-set! v i (* i i))) '(0 1 2 3 4))
	v
)");
trace(expr);
var continuation:Continuation = new Continuation();
// continuation.verbose = true;
var result:* = continuation.execute(expr);
trace(result);
Clone this wiki locally