"So I rewrote the Javascript interpreter in
continuation-passing style, so that it's execution could be
paused. And the result is Javascript code that runs in the browser
but can be controlled and visualised. Code that a user can pause
and step through to see the control flow. The interpreter is
currently passing 95% of the ECMAScript Language test262 test
suite."
http://lambda-the-ultimate.org/node/4639
Erick