Module
Abstract Syntax Trees and Intermediate Representations
Sign in to add this module to your path and practice.
About
Designing ASTs, visitor patterns, lowering from parse trees to ASTs; introduction to compiler IRs (three-address code, trees, SSA preview).
Goal
Define a clean AST for a small language; implement construction from the parser and a tree walk (pretty-printer or simple interpreter); lower AST to a linear IR.
Unlocks
Tutor
Ask questions about this module.
Hi — I'm your tutor for Abstract Syntax Trees and Intermediate Representations. Ask about the concepts, goal, or where you're stuck.