sweet-es7-promise
A sweet.js macro for ES7 async functions.
You're probably better off using the Traceur Compiler, but this is a fun experiment.
Usage
var { var response = await ; if responseheaders"X-Has-No-Comments" return; var post = await responsebody; return postcomments;};
Translates to:
var { return Promise;};
Missing features
- try-catch blocks with await.