算符优先文法

上传者: fire_to_cheat_ | 上传时间: 2019-12-21 19:44:38 | 文件大小: 2.05MB | 文件类型: rar
(1)根据给定文法,先求出FirstVt和LastVt集合,构造算符优先关系表(要求算符优先关系表 输出到屏幕或者输出到文件); (2)根据算法和优先关系表分析给定表达式是否是该文法识别的正确的算术表达式(要求输出归约过程) (3)给定表达式文法为: G(E’): E’→#E# E→E+T | T T→T*F |F F→(E)|i (4)分析的句子为: (i+i)*i和i+i)*i

文件下载

资源详情

[{"title":"( 23 个子文件 2.05MB ) 算符优先文法","children":[{"title":"算符优先分析1","children":[{"title":".vs","children":[{"title":"算符优先分析1","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 27.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"算符优先分析1","children":[{"title":"算符优先分析1.vcxproj <span style='color:#111;'> 7.23KB </span>","children":null,"spread":false},{"title":"nick.txt <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"算符优先分析1.vcxproj.filters <span style='color:#111;'> 956B </span>","children":null,"spread":false},{"title":"Input.txt <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"OperatorGrammer.cpp <span style='color:#111;'> 8.95KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"OperatorGrammer.obj <span style='color:#111;'> 55.52KB </span>","children":null,"spread":false},{"title":"vc140.pdb <span style='color:#111;'> 340.00KB </span>","children":null,"spread":false},{"title":"算符优先分析1.log <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"算符优先分析1.Build.CppClean.log <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"vc140.idb <span style='color:#111;'> 323.00KB </span>","children":null,"spread":false},{"title":"算符优先分析1.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 15.78KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 670B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 420B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"算符优先分析1.lastbuildstate <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"算符优先分析1.sln <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"算符优先分析1.pdb <span style='color:#111;'> 860.00KB </span>","children":null,"spread":false},{"title":"算符优先分析1.exe <span style='color:#111;'> 40.00KB </span>","children":null,"spread":false},{"title":"算符优先分析1.ilk <span style='color:#111;'> 331.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"算符优先分析1.VC.db <span style='color:#111;'> 8.09MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 游穆族人 :
    哇大哥,你这个换个文法还得改源代码,复用性极低啊……
    2017-12-14

免责申明

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