Added C-code generator + test to TDDD55-lab
Compare changes
+ 3
− 2
@@ -15,6 +15,8 @@ OUTFILE = compiler
@@ -15,6 +15,8 @@ OUTFILE = compiler
@@ -39,10 +41,9 @@ parser.o : parser.cc
@@ -39,10 +41,9 @@ parser.o : parser.cc
This PR adds a C-Code generator to the Lab skeleton. It can be invoked by running:
compiler -c
Also there is a test file that can be run, by bash:
codegen-test.sh