cifafenxi

所属分类:编译器/解释器
开发工具:Visual C++
文件大小:1KB
下载次数:9
上传日期:2008-04-12 12:06:38
上 传 者xxwzlxz
说明:  词法分析器的实现,1) 输入:字符串(待进行词法分析的源程序),输出:由(种别码,自身值)所组成的二元组序列。 2) 功能: a. 滤空格 b. 识别保留字 c. 识别标识符 d. 拼数 e. 拼复合单词: 例如: >=、 <=、 := 3) 检查如下错误: a. 程序语言的字符集以外的非法字符 b. 单词拼错,如9A88,而对于将begin拼写成begon的错误,只须把begon当成标识符即可
(Lexical analyzer realize, 1), type: string (to be carried out lexical analysis of source code), output: from (other kinds of code, its own value) which consists of binary sequences. 2) Function: a. filter b. Identification of spaces reserved words c. hard d. identifier to identify a number of e. hard compound word: For example:)

文件列表:
cifafenxi.cpp (3153, 2008-03-21)

近期下载者

相关文件


收藏者