搜索资源列表
compiler
- 这个程序是编译程序的一部分,用于阅读源代码,并识别其中的标记符、关键词(以字母开头)、数(以数字开头)。其中数按其是否以0开头分为10进制和8/16进制,而16进制的第二位是“x”。将上述所有识别的内容分类显示在屏幕和文件result.txt中。 函数scan负责整个识别、输出过程,compare1负责识别单个字符,compare2识别词。
main
- 本程序是一个C++单词分析程序。实现将输入文件源代码经过分析分类,输出各类单词,如关键字,运算符,常量,变量等-This program is a C++ word analysis program. Achieved through the analysis of source code input file classification, the output types of words, such as keywords, operators, constants, variables,
Lexical-analysi
- 简单的词法分析器源程序!扫描读入的源代码,并进行词法分析,将源码经行分类!-Lexical analysis program