The repo contains source code for Cool Compiler Projects (which comes from compiler course of UC Berkeley).
The code is written in Fall 2018 and there are bugs in PA1, PA2 and PA4 is memoryleaked.
Tools-bin contains standard cool compiler and cool-support contains structures/utilities for cool language which provided by berkeley.
Generate lexer with Flex
Generate parser with bison
Put cool-support in the right folder to run Makefile
Do not abuse the repo for homework/school course.