June 2, 2006
6:11 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.

How it Works

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. | x

Loading

Contextual Related Posts:

No followup yet

Leave a Response

Comment Preview
« Disney to Offer Films on CinemaNowServing JavaScript Fast »
Feed Icon

Subscribe via RSS or email: