CS 536 Programming Assignment 4
C++ Code Skeletons
The following files define a sample typechecker for CSX-lite, augmented with variable declarations and a print statement. Type "make test" to build the sample typechecker and test it.
Makefile
main.c
scanner.h
symboltab.c
symboltab.h
parser.h
parser.c
typechecker.c
codegen.c
csx.yacc (Yacc specification for CSX)
csx.yacc (Lex specification for CSX)
testfile1 (contains numerous type and declaration errors)
testfile2 (should compile and generate valid MIPS code)