Description: Simple design of a simple language compiler, we realize that the symbol table design, the design of lexical analysis, syntax analysis and semantic analysis of the design, and ultimately produce quaternion type. Lexical analysis is complete token strings, check fill in the symbol table, check the lexical errors, and determine the scope of Ascii code symbols, such as: Comment not closed, illegal characters (if the Chinese way of parenthesis ()) and more than Ascii code range of characters (if NULL) and the like and to handle errors and the error location and the symbol set. Syntax analysis is done to check syntax error: checking a program statement, assignment (: =), begin statement, for statement, while statement, if statements, call statements, and integer program body, real program body, procedure program body, etc., There is a lack of symbols: With the left parenthesis and no closing parenthesis and so on. And to determine the location of a syntax error. Semantic analysis can genera
To Search:
File list (Check if you may need any files):
project\cuilei's project\cc.txt
.......\................\cuilei's project.vcxproj
.......\................\cuilei's project.vcxproj.filters
.......\................\cuilei's project.vcxproj.user
.......\................\Debug\CL.read.1.tlog
.......\................\.....\CL.write.1.tlog
.......\................\.....\cuilei's project.exe.embed.manifest
.......\................\.....\cuilei's project.exe.embed.manifest.res
.......\................\.....\cuilei's project.exe.intermediate.manifest
.......\................\.....\cuilei's project.lastbuildstate
.......\................\.....\cuilei's project.log
.......\................\.....\cuilei's project_manifest.rc
.......\................\.....\link-cvtres.read.1.tlog
.......\................\.....\link-cvtres.write.1.tlog
.......\................\.....\link.7140-cvtres.read.1.tlog
.......\................\.....\link.7140-cvtres.write.1.tlog
.......\................\.....\link.7140.read.1.tlog
.......\................\.....\link.7140.write.1.tlog
.......\................\.....\link.read.1.tlog
.......\................\.....\link.write.1.tlog
.......\................\.....\mt.read.1.tlog
.......\................\.....\mt.write.1.tlog
.......\................\.....\rc.read.1.tlog
.......\................\.....\rc.write.1.tlog
.......\................\.....\vc100.idb
.......\................\.....\vc100.pdb
.......\................\.....\源.obj
.......\................\fuhaobiao.txt
.......\................\output.txt
.......\................\zhushi.txt
.......\................\源.cpp
.......\cuilei's project.sdf
.......\cuilei's project.sln
.......\cuilei's project.suo
.......\cuilei's project.v11.suo
.......\Debug\cuilei's project.exe
.......\.....\cuilei's project.ilk
.......\.....\cuilei's project.pdb
.......\ipch\cuilei's project-4d141515\cuilei's project-9968518.ipch
.......\cuilei's project\Debug
.......\ipch\cuilei's project-4d141515
.......\cuilei's project
.......\Debug
.......\ipch
project