COMPILERS
github ↗
COOL Compiler to MIPS
A complete compiler for COOL, a statically-typed object-oriented language, from source code to runnable MIPS assembly through all four classic phases: lexing, parsing, semantic analysis, and code generation.
Where I've used it:
A complete compiler for COOL, a statically-typed object-oriented language, from source code to runnable MIPS assembly through all four classic phases: lexing, parsing, semantic analysis, and code generation.
An interpreter for the COOL programming language extended with automatic type inference: declare a variable as AUTO_TYPE and the system deduces what it must be.