Hey people,
Let me introduce you The Spoon: https://github.com/indutny/spoon
It's a JavaScript to CFG (Control-Flow Graph) transpiler and additionally a
CPS (Continuation Passing Style) transpiler too.
Basically, it lets you to rewrite code like this:
var data = 'prefix: ' + fs.read('file')
To this:
var data;
fs.read('file', function(err, result) {
data = 'prefix: ' + result;
});
Please check the readme, if you're interested.
Cheers,
Fedor.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en