Given a SpiderMonkey-compatible AST, generate human-readable and correctly formatted source code.
On the demo page, try pasting in the following code (from escodegen's demo page):
for(var i=1;i<=100;++i){if(i%15===0){console.log('FizzBuzz')}else if(i%3===0){console.log('Fizz')}else if(i%5===0){console.log('Buzz')}else{console.log(i)}}
No. Use escodegen. This is just for fun and will not work as well.
The MIT license. See LICENSE for full text.