JustinLardinois / oc

Compiler project for CMPS 104A: Fundamentals of Compiler Design I

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My compiler project from Wesley Mackey's CMPS 104A: Fundamentals of Compiler Design I at UC Santa Cruz in Spring 2015.

If you are a current student in that course, or plan to take it at some point in the future, do not read this repository. Cheating is wrong.

Like most students, I didn't quite finish the project. The intended features of the compiler and the specification of oc, the toy language it compiles, are detailed in the documents in the Assignments directory. I completed everything from the first four assignments, and barely got started on assignment 5.

The starter-code directory contains the skeleton code that Professor Mackey provided at the beginning of the quarter, and oc-programs contains a number of sample oc programs he provided that serve to test various features of the compiler. Some of the latter have intentionally invalid syntax.

About

Compiler project for CMPS 104A: Fundamentals of Compiler Design I


Languages

Language:C++ 68.5%Language:C 13.1%Language:Yacc 9.5%Language:Makefile 5.4%Language:Lex 3.0%Language:Shell 0.4%