文件名称:词法分析器(wendang)
介绍说明--下载内容均来自于网络,请自行研究使用
/*本程序用于词法分析:从DOS界面输入一行的C语句,并以#号结尾(注意必须以这个为结束标志,否则出错),要求输出对应的单词的种类码和该类中的 内码。其中,关键字种类为1,分界符种类为2,算术运算符、关系运算符、常数、标识符分别为3、4、5、6。-/* this procedure uses in the lexical analysis: Inputs a line of C sentence from the DOS contact surface, and take# the number ending (attention must by this as end mark, otherwise makes a mistake), request output correspondence word type code and this kind of center encoding. Among them, the essential character type is 1, the dividing line symbol type is 2, the arithmetic operator, the relational operator, the constant, the identifier respectively are 3, 4, 5, 6.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
词法分析器(计算机系要的).doc