JavaScriptSearch Thursday, June 1, 2006; 09:00 AM
Narrative JavaScript is a small extension to the JavaScript language that enables
blocking capabilities for asynchronous operations. This makes writing
asynchronous code sequences easier and increases code readability.
Narrative JavaScript consists of a compiler and a runtime library. You write
your code code as Narrative JavaScript (using the blocking operator) and
the compiler will parse and translate the code into regular (asynchronous) JavaScript. You
then deploy the compiled code along with a runtime library. To aid in
debugging, the compiler keeps line numbering of the source code intact in
the compiled code.
The Narrative JavaScript parser is based off of Brendan Eich's
narcissus,
a JavaScript parser written in JavaScript for the Mozilla project. The project is currently in alpha and looking for testers.
|
http://neilmix.com/narrativejs/
|
|