Programming assignments II–V will direct you to design and build a compiler for Cool. Each assignment will cover one component of the compiler: lexical analysis, parsing, semantic analysis, and code generation. Each assignment will ultimately result in a working compiler phase which can interface with other phases.
Java related materials are removed. I'll be using C++.
PA | brief | status |
---|---|---|
PA1 | acquaint with the Cool language | done |
PA2 | lexical analyzer with Flex | done |
PA3 | parser with Bison | done |
PA4 | static semantics of Cool | done |
PA5 | code generation to MIPS | test passed |