I created a compiler in my class using bison and flex. In phase 1, I used flex to analyze the made up language and tokenize it. In phase 2, I created the context free grammar and then used bison to parse it. In phase 3, I implemented the code generation. In order to do so, I made my own symbol table manager that would push and pop all the associated tokens and variables in the entry of each function. I completed this project solo!

Github