My friend and I want to learn to make our own programming language which runs by compiling to JavaScript code. And now there's plenty of languages which compiles to JavaScript. So far I've learnt basic simple methods of parsing code from source and running it in JavaScript.
But I'm not able to generate good code so far. Since many projects have done that, I'm wondering if there's any standard tool here, and with that I can generate JavaScript from the AST I got form parsing source?
escodegen
would be nice.
https://github.com/Constellation/escodegen
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With