文件名称:compiler
- 所属分类:
- 编译器/词法分析
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- Fayer *******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这个程序是编译程序的一部分,用于阅读源代码,并识别其中的标记符、关键词(以字母开头)、数(以数字开头)。其中数按其是否以0开头分为10进制和8/16进制,而16进制的第二位是“x”。将上述所有识别的内容分类显示在屏幕和文件result.txt中。
函数scan负责整个识别、输出过程,compare1负责识别单个字符,compare2识别词。-This procedure is the compiler part of the process for reading the source code, and identify which tags, keywords (to start with a letter), the number of (in figures at the beginning). Several of them according to whether or not to 0 at the beginning divided into 10-band and 8/16 M, while the second band 16 is x . Will identify the contents of all of the above categories displayed on the screen and documents in Result.txt. Scan function is responsible for the entire identification process output, compare1 responsible for identification of individual characters, compare2 word recognition.
函数scan负责整个识别、输出过程,compare1负责识别单个字符,compare2识别词。-This procedure is the compiler part of the process for reading the source code, and identify which tags, keywords (to start with a letter), the number of (in figures at the beginning). Several of them according to whether or not to 0 at the beginning divided into 10-band and 8/16 M, while the second band 16 is x . Will identify the contents of all of the above categories displayed on the screen and documents in Result.txt. Scan function is responsible for the entire identification process output, compare1 responsible for identification of individual characters, compare2 word recognition.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
compiler.cpp
result.txt
system.txt
result.txt
system.txt