Optimizing Trees — How to Create a Compiler part 2/5 — Simple optimizations to a program in an AST

Similar Tracks
Three-Address Code — How to Create a Compiler part 3/5 — Converting AST into statement-based IR
Bisqwit
Parser and Lexer — How to Create a Compiler part 1/5 — Converting text into an Abstract Syntax Tree
Bisqwit
Optimizing IR — How to Create a Compiler part 4a/5 — Optimizing a three-address code based IR
Bisqwit