自底向上语法分析-算符优先分析器(C语言实现)

上传者: skyline0623 | 上传时间: 2019-12-21 21:08:02 | 文件大小: 223KB | 文件类型: rar
1) 任意输入一个文法G; 2) 判断该文法是否为算符文法; 3) 对文法中的每个非终结符自动生成并打印输出: ① FIRSTVT集; ② LASTVT集; 4)判断该文法是否为算符优先文法, 如果是自动生成并打印输出其算符优先矩阵; 5) 模拟分析过程。 如输入一个句子,如果该句子合法则输出与句子 对应的语法树;能够输出分析过程中每一步符号 栈的变化情况以及根据当前最左素短语进行归约 的过程。如果该句子非法则进行相应的报错处理。

文件下载

资源详情

[{"title":"( 35 个子文件 223KB ) 自底向上语法分析-算符优先分析器(C语言实现)","children":[{"title":"算符优先分析器","children":[{"title":"算符优先分析器.plg <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"算符优先分析器.positions <span style='color:#111;'> 880B </span>","children":null,"spread":false},{"title":"算符优先分析器.opt <span style='color:#111;'> 56.50KB </span>","children":null,"spread":false},{"title":"init_table.c <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"init_tree.c <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"buff_deal.c <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"算符优先分析器.ncb <span style='color:#111;'> 49.00KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"get_FIRVT_LASTVT.obj <span style='color:#111;'> 5.62KB </span>","children":null,"spread":false},{"title":"算符优先分析器.pdb <span style='color:#111;'> 521.00KB </span>","children":null,"spread":false},{"title":"init_table.obj <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"display_tree.obj <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false},{"title":"create_table.obj <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 65.00KB </span>","children":null,"spread":false},{"title":"analyze.obj <span style='color:#111;'> 9.98KB </span>","children":null,"spread":false},{"title":"算符优先分析器.pch <span style='color:#111;'> 153.65KB </span>","children":null,"spread":false},{"title":"init_tree.obj <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 15.44KB </span>","children":null,"spread":false},{"title":"display_table.obj <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"buff_deal.obj <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false},{"title":"算符优先分析器.ilk <span style='color:#111;'> 211.99KB </span>","children":null,"spread":false},{"title":"get_input.obj <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"display_fir_lastvt.obj <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"算符优先分析器.exe <span style='color:#111;'> 196.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"display_tree.c <span style='color:#111;'> 345B </span>","children":null,"spread":false},{"title":"analyze.c <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"display_table.c <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"算符优先分析器.dsw <span style='color:#111;'> 536B </span>","children":null,"spread":false},{"title":"get_FIRVT_LASTVT.c <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"算符优先分析器.dsp <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false},{"title":"get_input.c <span style='color:#111;'> 440B </span>","children":null,"spread":false},{"title":"create_table.c <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"display_fir_lastvt.c <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"OurHead.h <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • developershh :
    挺好 哈哈哈哈哈
    2019-11-15
  • Ordinaryprogrammer :
    可是该用什么编译器运行?
    2019-05-10
  • WYFVV :
    注释很好呀
    2017-11-20
  • Q_JH :
    可以运行,功能完备,语法固定。
    2016-03-10
  • 涵菡 :
    功能很完善!!!值得推荐给大家
    2015-06-18

免责申明

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