int3/metajs — pull request #6 by omphalos (2013-02-18 18:23:23+00:00)
Title: Support injecting a custom scheduler (such as a debugger).

I have added a factory method around interp called createInterpreter. This function takes a 'scheduler' function, and returns an interpreter that uses the scheduler. Scheduler is given the ability to determine when the continuations are called. This scheduler can be something simple like a setTimeout-based scheduler or also something like a JavaScript-based debugger.