Skip to content

About

Breakout repo for the dragon project in CS445 - Compiler Construction

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS445 The Dragon

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.

About

Breakout repo for the dragon project in CS445 - Compiler Construction

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages