Java实现具有词法匹配、语法分析和中间代码生成的编译器

上传者: liubin_09 | 上传时间: 2019-12-21 20:09:57 | 文件大小: 24KB | 文件类型: zip
支持龙书附录中的部分语法,完成词法匹配、语法分析和中间代码生成如 program sample(a1,b2) var a,b:integer; var c,d:real; begin a:=1; b:=2; a:=b+c3; a:=8+7+6+5+4+3+2+1+9*8 mod 7-6+5+4 div 3; if a

文件下载

资源详情

[{"title":"( 23 个子文件 24KB ) Java实现具有词法匹配、语法分析和中间代码生成的编译器","children":[{"title":"Compiler","children":[{"title":"bin","children":[{"title":"Main.class <span style='color:#111;'> 719B </span>","children":null,"spread":false},{"title":"inter","children":[{"title":"MiddleCode.class <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"Expr.class <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"tool","children":[{"title":"Tool.class <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"lexer","children":[{"title":"Lexer.class <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"Word.class <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"parser","children":[{"title":"Element.class <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"Parser.class <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"data","children":[{"title":"test - 副本.txt <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"test.txt <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"t.txt <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"test - 副本 (2).txt <span style='color:#111;'> 197B </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 629B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"inter","children":[{"title":"MiddleCode.java <span style='color:#111;'> 691B </span>","children":null,"spread":false},{"title":"Expr.java <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"tool","children":[{"title":"Tool.java <span style='color:#111;'> 728B </span>","children":null,"spread":false}],"spread":true},{"title":"lexer","children":[{"title":"Lexer.java <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"Word.java <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"Main.java <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"parser","children":[{"title":"Parser.java <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false},{"title":"Element.java <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 295B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 7aylorswift :
    非常不错,适合初学者
    2018-09-03
  • HansCathy :
    正在学习,挺有用
    2016-04-29
  • hellosoftware :
    适合初学者
    2016-04-28
  • mynewnum :
    比较优秀的资源,能够学习到一些东西。
    2016-02-27
  • zx1090406868 :
    代码挺好的 不错
    2015-10-31

免责申明

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