Breakout repository of my CS445 final project: The Dragon (a compiler). Built originally using lex and yacc (original repo here), now updated to build with flex and bison.
The original grammar for this project was based off of a Pascal-like language. All syntax and error handling is mostly completed, bar the items in todo.txt.
To build, simple run make (and clean up all generated files with make clean). Then, run the compiler
with ./qc < <file>.q. Example files are included in the test directory. Since code generation was never
finished, the output simply draws the parser's syntax tree to the screen for the user to bask in it's glory.