编译技术实验(Pascal代码转汇编语言)

上传者: supersmart_dong | 上传时间: 2019-12-21 21:12:04 | 文件大小: 5.3MB | 文件类型: zip
编译原理实验,目的把用户输入的代码转化成汇编语言的代码。一个简单的编译器的实现。主要采用算符优先的算法。开发环境VS2013,语言C++

在 BYYL.cpp中的读取文件路径中添加案例,如在a.txt中写上
program test
var a : real ;var b:bool ;
begin
while A if A=1 then C:=C+1
else while A<=D do A:=A*2;
B := A+C+D+(-2)
end

文件下载

资源详情

[{"title":"( 35 个子文件 5.3MB ) 编译技术实验(Pascal代码转汇编语言)","children":[{"title":"BYYL","children":[{"title":"BYYL.v12.suo <span style='color:#111;'> 43.00KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"BYYL.exe <span style='color:#111;'> 367.00KB </span>","children":null,"spread":false},{"title":"BYYL.ilk <span style='color:#111;'> 2.90MB </span>","children":null,"spread":false},{"title":"BYYL.pdb <span style='color:#111;'> 4.71MB </span>","children":null,"spread":false}],"spread":true},{"title":"ipch","children":[{"title":"byyl-30b6fb14","children":[{"title":"byyl-988ebc2c.ipch <span style='color:#111;'> 2.94MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"BYYL.sdf <span style='color:#111;'> 8.50MB </span>","children":null,"spread":false},{"title":"BYYL.sln <span style='color:#111;'> 958B </span>","children":null,"spread":false},{"title":"BYYL","children":[{"title":"register.h <span style='color:#111;'> 1002B </span>","children":null,"spread":false},{"title":"GenStruct.h <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"lastProduce.h <span style='color:#111;'> 6.68KB </span>","children":null,"spread":false},{"title":"BYYL.vcxproj.filters <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"BYYL.log <span style='color:#111;'> 6.34KB </span>","children":null,"spread":false},{"title":"vc120.pdb <span style='color:#111;'> 676.00KB </span>","children":null,"spread":false},{"title":"BYYL.pch <span style='color:#111;'> 1.56MB </span>","children":null,"spread":false},{"title":"vc120.idb <span style='color:#111;'> 363.00KB </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 11.04KB </span>","children":null,"spread":false},{"title":"BYYL.tlog","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"BYYL.lastbuildstate <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 9.11KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 736B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"BYYL.obj <span style='color:#111;'> 1.76MB </span>","children":null,"spread":false}],"spread":true},{"title":"token.h <span style='color:#111;'> 4.92KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"prog.h <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"BYYL.vcxproj <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"Tree.h <span style='color:#111;'> 12.81KB </span>","children":null,"spread":false},{"title":"Fristvt.h <span style='color:#111;'> 12.59KB </span>","children":null,"spread":false},{"title":"wordtable.h <span style='color:#111;'> 6.46KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"BYYL.cpp <span style='color:#111;'> 843B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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