Generation
This is how we're actually going to output our Javascript.
We're going to take our languages AST and transform it into an AST that a javascript codegen library understands. We'll be using escodegen
to generate the actual JS output.
If everything goes to plan, we’ll end up with something similar to:
const hello = "world"
console.log(hello)
In the future this book may be expanded to build upon alternative output languages.