LL1文法实验.rar

上传者: caojianfa969 | 上传时间: 2021-02-20 19:00:16 | 文件大小: 13KB | 文件类型: RAR
C++实现LL1文法: 1)在def.ll1中填写文法规则; 2)在test.free中填写识别字符串(会转换为token序列); 3)会打印出FIRST、FOLLOW和预测表; 4)会检测出错位置; 5)文法不能出现左递归和二义性;

文件下载

资源详情

[{"title":"( 20 个子文件 13KB ) LL1文法实验.rar","children":[{"title":"LL1文法实验","children":[{"title":"main.cpp <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"grammar.h <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"test.free <span style='color:#111;'> 11B </span>","children":null,"spread":false},{"title":"error.cpp <span style='color:#111;'> 687B </span>","children":null,"spread":false},{"title":"freedef.h <span style='color:#111;'> 68B </span>","children":null,"spread":false},{"title":"def.ll1 <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"DefLL1.h <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"scanner.h <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"DefLL1.cpp <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"Token.cpp <span style='color:#111;'> 665B </span>","children":null,"spread":false},{"title":"Free.vcxproj.filters <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"dfa.cpp <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"LL1.cpp <span style='color:#111;'> 9.07KB </span>","children":null,"spread":false},{"title":"dfa.h <span style='color:#111;'> 965B </span>","children":null,"spread":false},{"title":"Token.h <span style='color:#111;'> 965B </span>","children":null,"spread":false},{"title":"LL1.h <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"scanner.cpp <span style='color:#111;'> 944B </span>","children":null,"spread":false},{"title":"Free.vcxproj <span style='color:#111;'> 7.79KB </span>","children":null,"spread":false},{"title":"error.h <span style='color:#111;'> 375B </span>","children":null,"spread":false},{"title":"grammar.cpp <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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