Skip to content

ishwargov/Tiger-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS3140 Compiler Design Laboratory

Note.
Makefile in the root directory is for tiger compiler.
Makefile for reverse-polish is in reverse-polish directory.

DIRS

reverse-polish/ -> contains reverse-polish lab files
src/ -> contains tiger compiler files
src/graph -> contains lab 7 graph structure
src/ir -> contains lab 5 tree ir files
src/source -> contains parser, lexer and abstract syntax tree of Tiger.
src/target -> contains files of MIPS, Temp Structure, Translator and Block Structure.

TESTING

$ make

$ ./tc ./tests/a.tig

$ ./tc ./tests/b.tig

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published