IR Construction (Intermediate Representation Construction) is the final stage of the compiler’s front end. It involves converting the type-checked Concrete Syntax Tree (CST)** into an Abstract Syntax Tree (AST), which is a representation better suited for optimization and translation.
