将WHILE语句翻译成四元式-Compiler

上传者: 41025036 | 上传时间: 2021-04-27 09:04:12 | 文件大小: 191KB | 文件类型: ZIP
设计一个语法制导翻译器,将WHILE语句翻译成四元式。 要求:先确定一个定义WHILE语句的文法,为其设计一个语法分析程序,为每条产生式配备一个语义子程序,按照一遍扫描的语法制导翻译方法,实现翻译程序。 对用户输入的任意一个正确的WHILE语句,程序将其转换成四元式输出(可按一定格式输出到指定文件中)。

文件下载

资源详情

[{"title":"( 24 个子文件 191KB ) 将WHILE语句翻译成四元式-Compiler","children":[{"title":"compile","children":[{"title":"compile","children":[{"title":"compile.h <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"compile.cpp <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"compile.ico <span style='color:#111;'> 66.19KB </span>","children":null,"spread":false},{"title":"compile.rc2 <span style='color:#111;'> 670B </span>","children":null,"spread":false}],"spread":true},{"title":"parsing.cpp <span style='color:#111;'> 11.80KB </span>","children":null,"spread":false},{"title":"compile.aps <span style='color:#111;'> 221.22KB </span>","children":null,"spread":false},{"title":"compileDlg.h <span style='color:#111;'> 940B </span>","children":null,"spread":false},{"title":"data_structure.h <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"parsing.h <span style='color:#111;'> 635B </span>","children":null,"spread":false},{"title":"compile.vcxproj.user <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"framework.h <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"compile.rc <span style='color:#111;'> 12.16KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 74.18KB </span>","children":null,"spread":false},{"title":"compile.vcxproj.filters <span style='color:#111;'> 2.49KB </span>","children":null,"spread":false},{"title":"pch.cpp <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"parserSource.txt <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"parserResult.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"compileDlg.cpp <span style='color:#111;'> 9.13KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 299B </span>","children":null,"spread":false},{"title":"lexical_analysis.h <span style='color:#111;'> 945B </span>","children":null,"spread":false},{"title":"compile.vcxproj <span style='color:#111;'> 10.58KB </span>","children":null,"spread":false},{"title":"pch.h <span style='color:#111;'> 544B </span>","children":null,"spread":false},{"title":"lexical_analysis.cpp <span style='color:#111;'> 8.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"compile.sln <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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