搜索资源列表
cifafenxiqi
- 自己在在做该实验之前,先对其作了系统的学习与分析,在此基础上进行了以下实验扩展:在界面上进行了适当的布局,应用了可视化界面,而不是命令行方式。添加了选择文件的功能代替手工输入源程序,有保存文件功能和打开文件功能。增加预处理的功能,例如去掉注释,文件包含的解释功能,例如/*……*/的识别。识别出更多的常数与符号,比如对转义字符的识别,小数的识别更加准确,进行了诸如1.22.333.44非常数化的识别。
c
- 实现源程序输入串中注释、续行符的删除,换行符和Tab的替换,大写字母变换,得到预处理后的文本串,为单词识别做好准备。-Realization of input strings in the source notes, continued at the deleted line, newlines, and Tab replacement, capital letters transform, obtained after pretreatment of the text string, read
Test1
- 源程序的输入和预处理 掌握字符处理的方法,理解设计为独立子程序的好处,为词法分析做好准备。 -Source code control characters in the input and pre-treatment methods, to understand the benefits of design as a separate subroutine, to prepare for the lexical analysis.
2.1.2
- 关于源程序的输入及预处理的c语言描述方案-C language descr iption of the program on the source input and pretreatment