bianyiqi
所属分类:编译器/解释器
开发工具:Visual C++
文件大小:11KB
下载次数:131
上传日期:2009-02-24 22:26:23
上 传 者:
www16niucom
说明: 八、 设计SAMPLE语言的语法、语义分析器,输出四元式的中间结果。
检查要求:
a] 启动程序后,先输出作者姓名、班级、学号(可用汉语、英语或拼音)。
b] 请求输入测试程序名,键入程序名后自动开始编译。
c] 输出四元式中间代码(样式见样板输出3和4)。
d] 能发现程序的语法错误并输出出错信息。
(Eight, design SAMPLE language grammar, semantic analyzer, the output quaternion type of intermediate results. Inspection requirements: a] start the process, the first output of the author' s name, class, study number [available in Chinese, English or Pinyin]. b] a request to enter the test program name, type the program name after the compiler automatically. c] output type between quaternion code [see sample output pattern 3 and 4]. d] the procedure can be found in a syntax error and output error message.)
文件列表:
test1.txt (156, 2008-12-31)
test2.txt (141, 2008-12-04)
布尔运算.cpp (9658, 2008-12-31)
词法分析.cpp (6395, 2008-12-31)
赋值.cpp (6912, 2008-12-31)
控制.cpp (6387, 2008-12-31)
四元式.cpp (2174, 2008-12-31)
头文件.h (5008, 2008-12-31)
项目.cpp (871, 2008-12-31)
主函数.cpp (1025, 2008-12-31)
近期下载者:
相关文件:
收藏者: