编译原理词法分析器、语法分析器python实现

上传者: m0_37690674 | 上传时间: 2019-12-21 20:16:23 | 文件大小: 19KB | 文件类型: zip
python实现的词法分析器和语法分析器,哈工大威海编译原理实现,词法分析器能够识别字符串,能够判断所输入的字符串是否符合文法,语法分析器采用自底向上的LR0实现。

文件下载

资源详情

[{"title":"( 25 个子文件 19KB ) 编译原理词法分析器、语法分析器python实现","children":[{"title":"mylexer","children":[{"title":".project <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"parser","children":[{"title":"action.pyc <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"test_parser.py <span style='color:#111;'> 2.65KB </span>","children":null,"spread":false},{"title":"analyser.py <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"exprer.py <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"exprer.pyc <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"action.py <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"closur.pyc <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"closur.py <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"analyser.pyc <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"gram.txt <span style='color:#111;'> 222B </span>","children":null,"spread":false}],"spread":false},{"title":"lexer","children":[{"title":"tokenner.py <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"symboller.pyc <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"symboller.py <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"reader.pyc <span style='color:#111;'> 1019B </span>","children":null,"spread":false},{"title":"test.py <span style='color:#111;'> 777B </span>","children":null,"spread":false},{"title":"reader.py <span style='color:#111;'> 593B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"symbol_table.txt <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"scanner.pyc <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false},{"title":"tokenner.pyc <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"scanner.py <span style='color:#111;'> 6.57KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 417B </span>","children":null,"spread":false}],"spread":true},{"title":".pydevproject <span style='color:#111;'> 443B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • _(:з」∠). :
    不建议下载 代码python2 readme也没有 写的挺放飞自我的
    2021-01-01
  • Allen.-.xu :
    不能用,有错误
    2019-12-11

免责申明

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