Introduction - If you have any usage issues, please Google them yourself
(1) a language that conforms to the syntax of Pascal subsets can be successfully converted into C;
(2) a simple documentation;
(3) uploaded to ftp:// C07:C07@10.11.3.71/upload before 2007.7.14, set up your own directory with the school number;
(4) if there is an error handling function, please specify which mistakes you can handle in the documentation.
Notes:
(1) pair of pairs
(2) you can use lexical, grammar, automatic generation of tools, under Windows, Flex, Bison, Linux, Lex, Yacc, Java, Jlex, JavaCC, ANTLR, etc
(3) without considering the key words of Pascal and C, the assumption that int, for, etc. is not present in Pascal subset language is a variable identifier
(4) read() and write() can be converted by statements such as scanf (), printf (), etc.
(5) if you have any questions, please send me xpqiu@fudan.edu.cn.
Packet : 113172234compiler([1].netstl).rar filelist
compiler(.net stl)\action.cpp
compiler(.net stl)\action.h
compiler(.net stl)\Analyze.cpp
compiler(.net stl)\Analyze.h
compiler(.net stl)\attribute.cpp
compiler(.net stl)\attribute.h
compiler(.net stl)\code.cpp
compiler(.net stl)\code.h
compiler(.net stl)\compiler.cpp
compiler(.net stl)\compiler.ncb
compiler(.net stl)\compiler.sln
compiler(.net stl)\compiler.suo
compiler(.net stl)\compiler.vcproj
compiler(.net stl)\creation.cpp
compiler(.net stl)\creation.h
compiler(.net stl)\FileReader.cpp
compiler(.net stl)\FileReader.h
compiler(.net stl)\global.cpp
compiler(.net stl)\global.h
compiler(.net stl)\LRPrefix.cpp
compiler(.net stl)\LRPrefix.h
compiler(.net stl)\LRPrintTable.cpp
compiler(.net stl)\LRPrintTable.h
compiler(.net stl)\LRTable.cpp
compiler(.net stl)\LRTable.h
compiler(.net stl)\PhaseSymbol.cpp
compiler(.net stl)\PhaseSymbol.h
compiler(.net stl)\status.cpp
compiler(.net stl)\status.h
compiler(.net stl)\stdafx.cpp
compiler(.net stl)\stdafx.h
compiler(.net stl)\symbol_mapping.cpp
compiler(.net stl)\symbol_mapping.h
compiler(.net stl)