首页 课程资源 软件测试     /    华工编译原理实验(词法分析+语法分析)

华工编译原理实验(词法分析+语法分析)

上传者: f459342281 | 上传时间:2023/11/27 0:42:52 | 文件大小:2.6MB | 文件类型:zip
华工编译原理实验(词法分析+语法分析)
内容:一共有实验一和实验二两个实验,每个实验有4次课8个学时;
实验一完成词法分析;
实验二完成语法、语义分析及中间代码生成。
两个实验完成后最终效果:实现一个简单的集成开发环境(IDE),可以编辑源代码、有“编译”、“运行”等功能;
需要显示所有的错误信息、扫描结果、语法分析结果、中间代码和汇编代码(做实验一时可以使用命令行界面)

文件下载

资源详情

[{"title":"(83个子文件2.6MB)华工编译原理实验(词法分析+语法分析)","children":[{"title":"编译原理实验","children":[{"title":"实验资料","children":[{"title":"TINY+.doc <span style='color:#111;'>45.00KB</span>","children":null,"spread":false},{"title":"实验1指南.ppt <span style='color:#111;'>118.50KB</span>","children":null,"spread":false},{"title":"TINY+EBNF文法.doc <span style='color:#111;'>35.50KB</span>","children":null,"spread":false},{"title":"编译原理实验报告要求.doc <span style='color:#111;'>111.50KB</span>","children":null,"spread":false},{"title":"实验.doc <span style='color:#111;'>58.00KB</span>","children":null,"spread":false},{"title":"实验2指南.ppt <span style='color:#111;'>156.00KB</span>","children":null,"spread":false},{"title":"编译原理实验报告模板.doc <span style='color:#111;'>123.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"语法分析","children":[{"title":"语法分析.ncb <span style='color:#111;'>1.92MB</span>","children":null,"spread":false},{"title":"语法分析.sln <span style='color:#111;'>902B</span>","children":null,"spread":false},{"title":"语法分析","children":[{"title":"Token.h <span style='color:#111;'>1.10KB</span>","children":null,"spread":false},{"title":"Token.cpp <span style='color:#111;'>3.97KB</span>","children":null,"spread":false},{"title":"vm.h <span style='color:#111;'>585B</span>","children":null,"spread":false},{"title":"in1.txt <span style='color:#111;'>314B</span>","children":null,"spread":false},{"title":"TypeKind.h <span style='color:#111;'>618B</span>","children":null,"spread":false},{"title":"Lexer.cpp <span style='color:#111;'>11.48KB</span>","children":null,"spread":false},{"title":"语法分析.vcproj.LENOVO-PC.Administrator.user <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"Parse.h <span style='color:#111;'>894B</span>","children":null,"spread":false},{"title":"Lexer.h <span style='color:#111;'>648B</span>","children":null,"spread":false},{"title":"SymTable.h <span style='color:#111;'>980B</span>","children":null,"spread":false},{"title":"TreeNode.cpp <span style='color:#111;'>702B</span>","children":null,"spread":false},{"title":"Sym.h <span style='color:#111;'>935B</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"语法分析.exe.intermediate.manifest <span style='color:#111;'>621B</span>","children":null,"spread":false},{"title":"vm.obj <span style='color:#111;'>27.50KB</span>","children":null,"spread":false},{"title":"vc90.idb <span style='color:#111;'>347.00KB</span>","children":null,"spread":false},{"title":"vc90.pdb <span style='color:#111;'>396.00KB</span>","children":null,"spread":false},{"title":"TreeNode.obj <span style='color:#111;'>26.77KB</span>","children":null,"spread":false},{"title":"语法分析.exe.embed.manifest <span style='color:#111;'>663B</span>","children":null,"spread":false},{"title":"mt.dep <span style='color:#111;'>65B</span>","children":null,"spread":false},{"title":"语法分析.exe.embed.manifest.res <span style='color:#111;'>728B</span>","children":null,"spread":false},{"title":"Pcode.obj <span style='color:#111;'>298.04KB</span>","children":null,"spread":false},{"title":"Parse.obj <span style='color:#111;'>307.70KB</span>","children":null,"spread":false},{"title":"Token.obj <span style='color:#111;'>84.62KB</span>","children":null,"spread":false},{"title":"ErrorsInfo.obj <span style='color:#111;'>287.10KB</span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'>8.73KB</span>","children":null,"spread":false},{"title":"Lexer.obj <span style='color:#111;'>515.82KB</span>","children":null,"spread":false},{"title":"work.obj <span style='color:#111;'>73.56KB</span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'>123.08KB</span>","children":null,"spread":false}],"spread":false},{"title":"Pcode.h <span style='color:#111;'>1022B</span>","children":null,"spread":false},{"title":"ErrorsInfo.cpp <span style='color:#111;'>649B</span>","children":null,"spread":false},{"title":"vm.cpp <span style='color:#111;'>1.76KB</span>","children":null,"spread":false},{"title":"Pcode.cpp <span style='color:#111;'>5.56KB</span>","children":null,"spread":false},{"title":"TreeNode.h <span style='color:#111;'>1.24KB</span>","children":null,"spread":false},{"title":"语法分析.vcproj <span style='color:#111;'>4.89KB</span>","children":null,"spread":false},{"title":"PcodeType.h <span style='color:#111;'>842B</span>","children":null,"spread":false},{"title":"Parse.cpp <span style='color:#111;'>10.21KB</span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'>1.47KB</span>","children":null,"spread":false},{"title":"in2.txt <span style='color:#111;'>137B</span>","children":null,"spread":false},{"title":"ErrorsInfo.h <span style='color:#111;'>369B</span>","children":null,"spread":false}],"spread":false},{"title":"Debug","children":[{"title":"语法分析.exe <span style='color:#111;'>255.50KB</span>","children":null,"spread":false},{"title":"语法分析.ilk <span style='color:#111;'>829.25KB</span>","children":null,"spread":false},{"title":"语法分析.pdb <span style='color:#111;'>1.50MB</span>","children":null,"spread":false}],"spread":true},{"title":"语法分析.suo <span style='color:#111;'>12.00KB</span>","children":null,"spread":false}],"spread":true},{"title":"词法分析","children":[{"title":"词法分析.suo <span style='color:#111;'>13.00KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"词法分析.ilk <span style='color:#111;'>402.65KB</span>","children":null,"spread":false},{"title":"词法分析.pdb <span style='color:#111;'>635.00KB</span>","children":null,"spread":false},{"title":"词法分析.exe <span style='color:#111;'>50.00KB</span>","children":null,"spread":false}],"spread":true},{"title":"词法分析","children":[{"title":"词法分析.vcproj.c28.Student.user <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"test.txt <span style='color:#111;'>166B</span>","children":null,"spread":false},{"title":"词法分析.vcproj.Mo-PC.Mo.user <span style='color:#111;'>1.37KB</span>","children":null,"spread":false},{"title":"test2.txt <span style='color:#111;'>151B</span>","children":null,"spread":false},{"title":"词法分析.vcproj.LENOVO-PC.Administrator.user <span style='color:#111;'>1.38KB</span>","children":null,"spread":false},{"title":"词法分析.vcproj <span style='color:#111;'>3.83KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"词法分析.exe.embed.manifest <span style='color:#111;'>663B</span>","children":null,"spread":false},{"title":"vc90.idb <span style='color:#111;'>307.00KB</span>","children":null,"spread":false},{"title":"WordsAnalyser.obj <span style='color:#111;'>74.40KB</span>","children":null,"spread":false},{"title":"vc90.pdb <span style='color:#111;'>220.00KB</span>","children":null,"spread":false},{"title":"词法分析.exe.embed.manifest.res <span style='color:#111;'>728B</span>","children":null,"spread":false},{"title":"mt.dep <span style='color:#111;'>65B</span>","children":null,"spread":false},{"title":"词法分析.exe.intermediate.manifest <span style='color:#111;'>621B</span>","children":null,"spread":false},{"title":"BuildLog.htm <span style='color:#111;'>6.58KB</span>","children":null,"spread":false}],"spread":true},{"title":"WordsAnalyser.cpp <span style='color:#111;'>8.12KB</span>","children":null,"spread":false},{"title":"test1.txt <span style='color:#111;'>325B</span>","children":null,"spread":false}],"spread":true},{"title":"词法分析.ncb <span style='color:#111;'>2.15MB</span>","children":null,"spread":false},{"title":"词法分析.sln <span style='color:#111;'>902B</span>","children":null,"spread":false}],"spread":true},{"title":"实验测试数据","children":[{"title":"说明.txt <span style='color:#111;'>294B</span>","children":null,"spread":false},{"title":"experiment2_test2_in.txt <span style='color:#111;'>148B</span>","children":null,"spread":false},{"title":"experiment2_test2_out.txt <span style='color:#111;'>322B</span>","children":null,"spread":false},{"title":"experiment1_test1_in.txt <span style='color:#111;'>314B</span>","children":null,"spread":false},{"title":"experiment1_test1_out.txt <span style='color:#111;'>408B</span>","children":null,"spread":false},{"title":"experiment2_test1_in.txt <span style='color:#111;'>124B</span>","children":null,"spread":false},{"title":"experiment1_test2_out.txt <span style='color:#111;'>334B</span>","children":null,"spread":false},{"title":"experiment2_test1_out.txt <span style='color:#111;'>336B</span>","children":null,"spread":false},{"title":"experiment1_test2_in.txt <span style='color:#111;'>113B</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • sylkyo:
    看起来很详细,还可以2019-02-18
  • asd244241917:
    有用,还不错2015-02-09
  • xzpp1994:
    删掉一部分代码才能够运行,但不能达到老师原来的要求。2014-02-11
  • a1052023549:
    虽然可以运行,但是有些代码没什么用!2014-02-01
  • i66大鱼君:
    看到这个实验一下子没有头绪。。。要是注释多点就好了2013-12-02

免责申明

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