Since there is no documentation for complier.
Is the general flow of the program like this?
Tokenize --> Pattern match on tokens --> Create JS AST --> Parse AST --> Get JS code?
I see that the patterns are being matched in
CodeGen/JS.hs file, especially the
Is there a PS AST as well?
Can someone briefly help me with the big picture and structure of the Compiler?