语法分析器Java语言编写(附实验报告)

上传者: deceiverwu | 上传时间: 2019-12-21 19:38:38 | 文件大小: 115KB | 文件类型: zip
本实验通过一个简易的语法分析器的实现,进一步加深对《编译原理》课程中语法分 析理论的理解,增强动手程序设计能力。分析可以采用自上而下的 LL(1)分析法,自下而上 的 SLR(1)和 LR(1)分析法。本次试验采用的是 LR(1)分析法,加深对它的理解。

文件下载

资源详情

[{"title":"( 19 个子文件 115KB ) 语法分析器Java语言编写(附实验报告)","children":[{"title":"SyntaxParser","children":[{"title":"Output","children":[{"title":"result.c <span style='color:#111;'> 151B </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 587B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"lex","children":[{"title":"Type.java <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"Scan.java <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"Token.java <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"LexicalAnalyzer.java <span style='color:#111;'> 8.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"main","children":[{"title":"Test.java <span style='color:#111;'> 38B </span>","children":null,"spread":false}],"spread":true},{"title":"parser","children":[{"title":"CFG.java <span style='color:#111;'> 5.40KB </span>","children":null,"spread":false},{"title":"Derivation.java <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"SyntaxParser.java <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"DFA.java <span style='color:#111;'> 577B </span>","children":null,"spread":false},{"title":"LRDerivation.java <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"AnalyzeTable.java <span style='color:#111;'> 8.19KB </span>","children":null,"spread":false},{"title":"DFAState.java <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 371B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"Input","children":[{"title":"cfg.txt <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"source.c <span style='color:#111;'> 31B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"语法分析.doc <span style='color:#111;'> 104.49KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • 打瞌睡的海豚 :
    没有GUI没有ATCION GOTO 分析表不太行
    2019-10-30

免责申明

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