Add copy of part 2 project for part 3

This commit is contained in:
2019-08-25 01:10:55 -07:00
parent 6d280731e4
commit cf3d2f5d8b
6 changed files with 319 additions and 0 deletions

6
03/compile.sh Executable file
View File

@@ -0,0 +1,6 @@
bison -o parser.cpp -d parser.y
flex -o scanner.cpp scanner.l
g++ -c -o scanner.o scanner.cpp
g++ -c -o parser.o parser.cpp
g++ -c -o type.o type.cpp
g++ main.cpp parser.o scanner.o type.o