pl0编译器

上传者: flyboys007 | 上传时间: 2022-06-11 21:04:38 | 文件大小: 549KB | 文件类型: RAR
对PL/0编译器作以下修改扩充:
(1)增加单词:保留字 ELSE,FOR,TO,DOWNTO,REPEAT, DOWHILE, UNTIL。
运算符 +=,-=,++,――
(2)修改单词:不等号# 改为 <>
(3)增加条件语句的ELSE子句
(4)增加Pascal的FOR语句:
①FOR <变量>:=<表达式> TO <表达式> DO <语句>
②FOR <变量>:=<表达式> DOWNTO <表达式> DO <语句>
其中,语句①的循环变量的步长为1,
语句②的循环变量的步长为-1。
(5)增加Pascal的REPEAT语句:
①Repeat〈语句〉;……〈语句〉;until 〈条件〉;
②Repeat〈语句〉;……〈语句〉;dowhile 〈条件〉;
包含源程序,实验报告。

文件下载

资源详情

[{"title":"( 36 个子文件 549KB ) pl0编译器","children":[{"title":"编译原理","children":[{"title":"编译原理","children":[{"title":"测试数据","children":[{"title":"REPEAT.COD <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"ELSE.COD <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"repeat2.pl0 <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"NEQ.pl0 <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"test.COD <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"else2.pl0 <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"TEST.PL0 <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"for2.pl0 <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"repeat.pl0 <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"E01.COD <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"yunsuanfu2.pl0 <span style='color:#111;'> 108B </span>","children":null,"spread":false},{"title":"yunsuanfu.pl0 <span style='color:#111;'> 265B </span>","children":null,"spread":false},{"title":"FOR.COD <span style='color:#111;'> 967B </span>","children":null,"spread":false},{"title":"else2.COD <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"PL01.exe <span style='color:#111;'> 42.50KB </span>","children":null,"spread":false},{"title":"FOR2.COD <span style='color:#111;'> 889B </span>","children":null,"spread":false},{"title":"YUNSUANFU.COD <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"YUNSUANFU2.COD <span style='color:#111;'> 707B </span>","children":null,"spread":false},{"title":"for.pl0 <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"ELSE3.COD <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"else.pl0 <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"yusuanfu.COD <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"ELSE3.pl0 <span style='color:#111;'> 231B </span>","children":null,"spread":false},{"title":"REPEAT2.COD <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"NEQ.COD <span style='color:#111;'> 589B </span>","children":null,"spread":false}],"spread":false},{"title":"编译原理试验报告.doc <span style='color:#111;'> 329.00KB </span>","children":null,"spread":false},{"title":"源程序","children":[{"title":"PL01.obj <span style='color:#111;'> 410.92KB </span>","children":null,"spread":false},{"title":"Unit1.obj <span style='color:#111;'> 499.79KB </span>","children":null,"spread":false},{"title":"Unit1.dfm <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"PL01.exe <span style='color:#111;'> 42.50KB </span>","children":null,"spread":false},{"title":"PL01.tds <span style='color:#111;'> 832.00KB </span>","children":null,"spread":false},{"title":"PL01.cpp <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"PL01.res <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"PL01.bpr <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"Unit1.h <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"Unit1.cpp <span style='color:#111;'> 26.75KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • z112256 :
    正在写课程设计,可以拿来参考参考
    2015-12-29
  • vwukerui :
    很不错,步骤很详细
    2014-10-14
  • qcjabc :
    挺好的,报告弄得也还不错。
    2013-11-27
  • mengfengling :
    虽然执行文件有点问题,但步骤很详细,谢谢分享!
    2012-04-09
  • still1420 :
    操作步骤很详细,不过就是执行文件有点问题
    2011-12-27

免责申明

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