CS 164 - Cool Compiler

This is one of the most organized class in Berkeley. The goal of this project is to make our own compiler for our make up computer language

Lexical Analysis
cool.flex

Parsing
cool.y

Semantic Analysis
semant.cc
semant.h

Code Generation
cgen.cc
cgen.h

Optimization
cgen.cc
cgen.h
emit.h
instruction.h
optemit.h
plainemit.h
cfg.h

Test Case
Test Files

My Cheat Sheet
Cheat Sheet

Discussion Notes
David Chen

Homework and Discussion Notes
Notes
More Notes!
Lecture


Written by Terence Tong
Statistics:
Go back to Home