tiny扩充语法分析

上传者: jackmiking | 上传时间: 2021-06-25 08:00:13 | 文件大小: 4.68MB | 文件类型: ZIP
编译原理实验二 tiny扩充语法分析 mfc界面 扩充的语法规则有:实现 while、do while、for语句和求余计算式子,具体文法规则自行构造。 可参考:P97及P136的文法规则。 (1) While-stmt --> while exp do stmt-sequence endwhile (2) Dowhile-stmt-->do stmt-sequence while exp (3) for-stmt-->for identifier:=simple-exp to simple-exp do stmt-sequence enddo 步长递增1 (4) for-stmt-->for identifier:=simple-exp downto simple-exp do stmt-sequence enddo 步长递减1

文件下载

资源详情

[{"title":"( 65 个子文件 4.68MB ) tiny扩充语法分析","children":[{"title":"tinySyntaxTreeEX","children":[{"title":"resource.h <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.rc <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"tiny compilation.txt <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.h <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"tinySyntaxTreeDlg.sbr <span style='color:#111;'> 29.60KB </span>","children":null,"spread":false},{"title":"code.obj <span style='color:#111;'> 8.59KB </span>","children":null,"spread":false},{"title":"analyze.sbr <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.res <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 380.00KB </span>","children":null,"spread":false},{"title":"symtab.sbr <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"tinySyntaxTreeDlg.obj <span style='color:#111;'> 43.87KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.pch <span style='color:#111;'> 6.73MB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 241.00KB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 103.34KB </span>","children":null,"spread":false},{"title":"symtab.obj <span style='color:#111;'> 6.92KB </span>","children":null,"spread":false},{"title":"util.sbr <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.exe <span style='color:#111;'> 128.10KB </span>","children":null,"spread":false},{"title":"cgen.obj <span style='color:#111;'> 18.71KB </span>","children":null,"spread":false},{"title":"analyze.obj <span style='color:#111;'> 9.56KB </span>","children":null,"spread":false},{"title":"scan.sbr <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"code.sbr <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.bsc <span style='color:#111;'> 3.57MB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.obj <span style='color:#111;'> 15.41KB </span>","children":null,"spread":false},{"title":"cgen.sbr <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.ilk <span style='color:#111;'> 306.76KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.pdb <span style='color:#111;'> 449.00KB </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.30MB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.sbr <span style='color:#111;'> 4.44KB </span>","children":null,"spread":false},{"title":"scan.obj <span style='color:#111;'> 11.94KB </span>","children":null,"spread":false},{"title":"parse.sbr <span style='color:#111;'> 5.76KB </span>","children":null,"spread":false},{"title":"parse.obj <span style='color:#111;'> 17.42KB </span>","children":null,"spread":false},{"title":"util.obj <span style='color:#111;'> 16.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"tinySyntaxTree.ncb <span style='color:#111;'> 129.00KB </span>","children":null,"spread":false},{"title":"symtab.h <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"analyze.cpp <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.plg <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"test.txt <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"cgen.cpp <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"code.cpp <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"syntax tree.txt <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"tinySyntaxTree.opt <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"analyze.h <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.cpp <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"tinySyntaxTree.rc2 <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"tinySyntaxTree.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"globals.h <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"util.cpp <span style='color:#111;'> 5.56KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.clw <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"tinySyntaxTreeDlg.h <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.dsp <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 216B </span>","children":null,"spread":false},{"title":"util.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"cgen.h <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"analyse.h <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"scan.cpp <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"scan.h <span style='color:#111;'> 660B </span>","children":null,"spread":false},{"title":"symtab.cpp <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"parse.cpp <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":"tinySyntaxTree.dsw <span style='color:#111;'> 553B </span>","children":null,"spread":false},{"title":"tinySyntaxTree.aps <span style='color:#111;'> 35.72KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"tinySyntaxTreeDlg.cpp <span style='color:#111;'> 9.21KB </span>","children":null,"spread":false},{"title":"code.h <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"parse.h <span style='color:#111;'> 484B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • qq_36642573 :
    不错不错,很有用
    2018-11-29
  • ithao123 :
    可以说挺全面的了
    2016-01-03
  • baidu_17621985 :
    浴帘王子的学生路过
    2015-12-27
  • qq_16378589 :
    浴帘王子的学生路过
    2015-12-24
  • hsb_19920611 :
    挺好的,不过不是那么容易理解
    2014-08-07

免责申明

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