c语法分析器--采用bison(yacc)

上传者: daqinzl | 上传时间: 2019-12-21 19:38:06 | 文件大小: 914KB | 文件类型: rar
c语法分析器,采用bison2.1(yacc), flex(lex), 生成程序的语法树 分析单个文件,不支持预处理, 不解析预处理符号# bison,flex工具在上传包内,语法见cgrammar-new.y,词法见input.lex 另附相关说明,本代码采用vs2005,建立console工程即可编译运行。 测试文件test.c, 输出结果out.txt

文件下载

资源详情

[{"title":"( 28 个子文件 914KB ) c语法分析器--采用bison(yacc)","children":[{"title":"c语法分析器","children":[{"title":"编译链接错误.txt <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"flex.exe <span style='color:#111;'> 166.50KB </span>","children":null,"spread":false},{"title":"cgrammar-new.tab.c <span style='color:#111;'> 104.04KB </span>","children":null,"spread":false},{"title":"flex++.exe <span style='color:#111;'> 166.50KB </span>","children":null,"spread":false},{"title":"libintl3.dll <span style='color:#111;'> 101.00KB </span>","children":null,"spread":false},{"title":"yacc命令.txt <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 1003B </span>","children":null,"spread":false},{"title":"libiconv2.dll <span style='color:#111;'> 955.50KB </span>","children":null,"spread":false},{"title":"bs.bat <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":"test.c <span style='color:#111;'> 152B </span>","children":null,"spread":false},{"title":"lex.yy.c <span style='color:#111;'> 59.41KB </span>","children":null,"spread":false},{"title":"文法","children":[{"title":"ANSI+C+grammar+(Lex).htm <span style='color:#111;'> 6.89KB </span>","children":null,"spread":false},{"title":"ANSI+C+grammar+(Yacc).htm <span style='color:#111;'> 35.54KB </span>","children":null,"spread":false}],"spread":true},{"title":"输入文件的指定.txt <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"out.txt <span style='color:#111;'> 7.45KB </span>","children":null,"spread":false},{"title":"cgrammar-new.tab.h <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"input.lex <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"说明.txt <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"cgrammar-new.y <span style='color:#111;'> 14.38KB </span>","children":null,"spread":false},{"title":"nconst.h <span style='color:#111;'> 4.40KB </span>","children":null,"spread":false},{"title":"parser.h <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"m4.exe <span style='color:#111;'> 140.00KB </span>","children":null,"spread":false},{"title":"run.bat <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"main.h <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"fl.bat <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"操作步骤.txt <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"bison.exe <span style='color:#111;'> 275.00KB </span>","children":null,"spread":false},{"title":"parser.c <span style='color:#111;'> 16.97KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • hpzhutmz :
    非常不错,一直想实现
    2019-07-16
  • gongfacun :
    确实很不错
    2017-10-16
  • m0_37769993 :
    对我帮助很大谢谢
    2017-08-15
  • qq_24632059 :
    很好~~但是最后还是没有看懂那个修改的地方
    2015-11-22
  • sinat_27545647 :
    很不错,说明文档多
    2015-05-09

免责申明

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