Description: pascal compiler in C++ is a compiler which compiles pascal code. The project consists of Symbol Table, Abstract Tree Construction, Code generation and generated code interpretation. I believe it s a helpful material for learning oo programming and design since it uses STL and design patterns intensively.
The project is developed on Mingw and Dev-C++ IDE, VC6.0 is not supported since it does not STL compliant!
File list (Check if you may need any files):
compiler
........\codegen.cpp
........\codegen.h
........\compiler.mdsp
........\errorlog.doc
........\interpreter.cpp
........\interpreter.h
........\main.cpp
........\Makefile.win
........\minipascal.dev
........\minipascal.opt
........\parser_tab.cpp
........\parser_tab.h
........\Release
........\.......\cmd.exe
........\.......\codegen.o
........\.......\Compiler.bat
........\.......\compiler.exe
........\.......\interpreter.o
........\.......\main.o
........\.......\out.txt
........\.......\parser_tab.o
........\.......\scanner.o
........\.......\SymTab.o
........\.......\syntaxtree.o
........\result.txt
........\scanner.cpp
........\SymTab.cpp
........\symtab.h
........\syntaxtree.cpp
........\syntaxtree.h
........\SyntaxTree.uml
........\test
........\....\cmd.exe
........\....\compiler.exe
........\....\max.pas
........\....\minipascal.exe
........\....\out.txt
........\....\sort.pas
........\....\test.pas
........\....\test1.pas
........\....\test2.pas
........\....\test3.pas
........\....\test5.pas
........\....\test6.pas
........\....\test7.pas
........\小型编译器实现.doc
........\说明.txt.txt