ishwargov / Tiger-Compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Standard ML 89.3%Language:Lex 7.1%Language:Makefile 3.2%Language:Assembly 0.4%