GitHub - xqb64/ucc: An optimizing compiler for a large subset of the C programming language
ucc
This is a Rust implementation of the C compiler from Nora Sandler's book.
How it works
At the forefront is the compiler driver, which orchestrates the compilation process---from lexing and parsing, through several stages of semantic analysis, such as variable resolution, loop labeling, and type checking. After generating an intermediate representation (IR), the compiler passes it through an iterative optimization pipeline. This pipeline leverages forward and backward data-flow analysis, live...
Read more at github.com