文件名称:Morphology
介绍说明--下载内容均来自于网络,请自行研究使用
可以识别出用c++语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号。
可以识别并读取源程序中的注释。
可以统计源程序中的标识符个数并输出。
检查原程序中存在的错误,并报告错误所在的行列位置。
发现原程序的错误后能进行适当的恢复,使程序继续运行。
用C/C++作为实现语言,编写词法分析程序。-Can be identified using c++ language source code symbols for each word, and to mark each word in the form of output symbols. Source can be identified and read in the comments. The identifier can count the number of source and output. Check for errors in the original program, and report errors where the ranks of the position. Found in the original program error can be properly restored, the program continues to run. With C/C++ as the implementation language, written lexical analyzer.
可以识别并读取源程序中的注释。
可以统计源程序中的标识符个数并输出。
检查原程序中存在的错误,并报告错误所在的行列位置。
发现原程序的错误后能进行适当的恢复,使程序继续运行。
用C/C++作为实现语言,编写词法分析程序。-Can be identified using c++ language source code symbols for each word, and to mark each word in the form of output symbols. Source can be identified and read in the comments. The identifier can count the number of source and output. Check for errors in the original program, and report errors where the ranks of the position. Found in the original program error can be properly restored, the program continues to run. With C/C++ as the implementation language, written lexical analyzer.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Morphology\实验报告.wps
..........\源程序\source.txt
..........\......\词法分析程序.cpp
..........\......\词法分析程序.exe
..........\源程序
Morphology
..........\源程序\source.txt
..........\......\词法分析程序.cpp
..........\......\词法分析程序.exe
..........\源程序
Morphology