I know that an AST
generated by the parser is used to generate IR in the frontend.
I am wondering how AST to be parsed and then transformed to IR (prob assembly or bitcode),
AST is a tree, what are the steps involved in the transformation from AST to IR.