Cool compiler

This repo is an implementation of the COOL language compiler. It's divided into four parts corresponding to the 4 programming assignments in stanford compilers course:

  1. Lexical analysis.
  2. Parsing.
  3. Semantic analysis.
  4. Code generation.