Narrative JavaScript
by Pascal Opitz on June 5 2006, 03:56
This is an extension to javascript that will be compiled into javascript afterwards, and helps you to write readable code by introducing the “blocking” operator (notated as ’->’).
It turns out that the blocking operator gets translated into javascript that heavily uses so called continuation passing style. This principle allows you to keep the context of callbacks by gathering the context data and writing the exectution into a callstack.
Quite an interesting concept that is and for sure the only compiled javascript aplication I ever heard of. Definitely will have a deeper look at this soon.
Comments
by Pascal Opitz on June 6 2006, 03:46 #
by Neil Mix on June 5 2006, 19:29 #