文件名称:C
介绍说明--下载内容均来自于网络,请自行研究使用
定义C语言或其子集的单词并给出编号,根据给定的语言子集构造词法分析器,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常量、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值(遇到错误时可显示“Error”,然后跳过错误部分继续显示),要求输出以文件形式存放的Token串。-The definition of C language or a subset of the word and give numbers, according to a subset of a given language construct lexical analyzer, from the input source, the identified individual has the independent meaning of words, that is basically reserved words, identifiers, constant, operator, separator five categories. And turn out every word in its own internal code and the word symbolic value (an error is encountered can be displayed "Error", then skip the error part of the continued to show), requiring form of a document stored in the output string Token.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C.doc