
This academy covers the compiler pipeline from source to optimized code. You will build lexers and parsers, perform semantic analysis with type systems, and construct intermediate representations for optimization.
3 courses6 h totalEnglishfor Professionals learning Compilers
Courses in this academy

#1
Lexical Analysis and Parsing
Implement lexical analyzers with finite automata and regular expressions. Construct LL(1) and LR(1) parsers, build abstract syntax trees, and handle syntax error recovery.
2 h

#2
Intermediate Representations and Optimization
Generate three-address code and static single assignment form. Apply data-flow analysis for constant propagation, dead code elimination, loop-invariant code motion, and register allocation.
2 h

#3
Semantic Analysis and Type Systems
Perform scope resolution and type checking via attribute grammars and symbol tables. Implement Hindley-Milner type inference, polymorphism, and subtyping rules.
2 h