文件名称:CIFAFENXI
介绍说明--下载内容均来自于网络,请自行研究使用
C语言 词法分析器。
(1) 可以识别出用C语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号.
(2) 可以识别并读取源程序中的注释.
(3) 可以统计源程序中的语句行数、单词个数和字符个数,其中标点和空格不计算为单词,输出统计结果.
(4) 检查源程序中存在的非法字符错误,并可以报告错误所在的行列位置.
(5) 发现源程序中存在错误后,进行适当的恢复,使词法分析可以继续进行,通过一次词法分析处理,
可以检查并报告源程序中存在的所有词法拼写错误.-C language lexical analyzer. (1) can be identified with the C source program written in symbols for each word, and to mark each word in the form of output symbols. (2) to identify and read the comments in the source program. (3) can be statistical source of the statement line number, word number and the number of characters, including punctuation and spaces are not counted as words, the output results. (4) Check the source in the presence of illegal character errors, and the ranks of the errors can be reported position. (5) found that there is an error source, the proper recovery, so that lexical analysis can proceed, through a lexical analysis and processing, you can check and report on all of the lexical source spelling errors.
(1) 可以识别出用C语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号.
(2) 可以识别并读取源程序中的注释.
(3) 可以统计源程序中的语句行数、单词个数和字符个数,其中标点和空格不计算为单词,输出统计结果.
(4) 检查源程序中存在的非法字符错误,并可以报告错误所在的行列位置.
(5) 发现源程序中存在错误后,进行适当的恢复,使词法分析可以继续进行,通过一次词法分析处理,
可以检查并报告源程序中存在的所有词法拼写错误.-C language lexical analyzer. (1) can be identified with the C source program written in symbols for each word, and to mark each word in the form of output symbols. (2) to identify and read the comments in the source program. (3) can be statistical source of the statement line number, word number and the number of characters, including punctuation and spaces are not counted as words, the output results. (4) Check the source in the presence of illegal character errors, and the ranks of the errors can be reported position. (5) found that there is an error source, the proper recovery, so that lexical analysis can proceed, through a lexical analysis and processing, you can check and report on all of the lexical source spelling errors.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CIFAFENXI.c