编译原理课程设计-C语言编译器

上传者: Cathy___Sun | 上传时间: 2024-06-17 16:06:53 | 文件大小: 1.02MB | 文件类型: ZIP
本次实验主要是对源代码进行语义分析,并执行相应的语义动作,最后输出四元式。在进行实验前,首先先要确定思路。本次实验思路如下:借助语法分析生成语法树,通过遍历语法树生成四元式,对四元式进行分块后生成DAG图,通过遍历DAG图对四元式进行优化。

文件下载

资源详情

[{"title":"( 26 个子文件 1.02MB ) 编译原理课程设计-C语言编译器","children":[{"title":"编译原理课设","children":[{"title":"syntacticc.cpp <span style='color:#111;'> 25.25KB </span>","children":null,"spread":false},{"title":"optimizee.cpp <span style='color:#111;'> 11.86KB </span>","children":null,"spread":false},{"title":"process.txt <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"源程序1运行结果.txt <span style='color:#111;'> 14.27KB </span>","children":null,"spread":false},{"title":"quaternion.cpp <span style='color:#111;'> 27.44KB </span>","children":null,"spread":false},{"title":"program.txt <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"lexical.o <span style='color:#111;'> 123.67KB </span>","children":null,"spread":false},{"title":"syntacticc.o <span style='color:#111;'> 754.82KB </span>","children":null,"spread":false},{"title":"quaternion.o <span style='color:#111;'> 627.56KB </span>","children":null,"spread":false},{"title":"optimize.o <span style='color:#111;'> 455.63KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 15.37KB </span>","children":null,"spread":false},{"title":"optimizee.o <span style='color:#111;'> 11.65KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"lexical.cpp <span style='color:#111;'> 19.64KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"编译原理课设报告.docx <span style='color:#111;'> 56.35KB </span>","children":null,"spread":false},{"title":"compilers.layout <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"optimize.cpp <span style='color:#111;'> 10.28KB </span>","children":null,"spread":false},{"title":"compilers.depend <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"main.h <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"compilers.exe <span style='color:#111;'> 1.85MB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"compilers.cbp <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"源程序2运行结果.txt <span style='color:#111;'> 19.74KB </span>","children":null,"spread":false},{"title":"compilers.cscope_file_list <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"ACTION_GOTO表.xlsx <span style='color:#111;'> 20.06KB </span>","children":null,"spread":false},{"title":"semantic.txt <span style='color:#111;'> 300B </span>","children":null,"spread":false},{"title":"Untitled1.c <span style='color:#111;'> 30.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明