文件名称:pascal-compiler-in-cpp
介绍说明--下载内容均来自于网络,请自行研究使用
pascal compiler in C++是一个用C++实现的PASCAL编译器,主要包括符号表,创建语法树,代码生成和4元式解析等。该工程是根据龙书实现的编译器。项目中大量使用了STL,设计模式等思想。是学习面向对象编程和设计的好材料。里面包含有说明.txt有更详细说明
请使用Mingw或Dev-C++开发环境-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!
请使用Mingw或Dev-C++开发环境-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!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
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
........\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