所属分类:
编译器/解释器
开发工具:Visual C++
文件大小:81KB
下载次数:447
上传日期:2005-12-15 21:41:03
说明: 一个具体的词法分析程序,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续显示)
(a specific lexical analysis procedures, imported from the source to identify all the independent significance of the word, that is to retain the basic character identifier, constant, Operators, separated top-five. Output and followed all the internal code words and symbols own words value. (Error is encountered can show that the "Error", and then skip some mistakes continue to show))