toy_compiler:为大学实现的玩具编译器-源码

上传者: 42131705 | 上传时间: 2021-03-31 10:06:05 | 文件大小: 551KB | 文件类型: ZIP
C++
toy_compiler 目录 概述 toy_compiler是我在大学的COMP 442: Compiler Design类的项目编译COMP 442: Compiler Design 。 要求 C ++ 20(gcc-10 / clang-10) Linux 第三方图书馆

文件下载

资源详情

[{"title":"( 99 个子文件 551KB ) toy_compiler:为大学实现的玩具编译器-源码","children":[{"title":"toy_compiler-main","children":[{"title":"manifest <span style='color:#111;'> 447B </span>","children":null,"spread":false},{"title":".clang-tidy <span style='color:#111;'> 927B </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 615B </span>","children":null,"spread":false},{"title":".clang-format <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 34.33KB </span>","children":null,"spread":false},{"title":"build","children":[{"title":"bootstrap.build <span style='color:#111;'> 87B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 55B </span>","children":null,"spread":false},{"title":"root.build <span style='color:#111;'> 223B </span>","children":null,"spread":false}],"spread":true},{"title":"buildfile <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":"Doxyfile <span style='color:#111;'> 111.88KB </span>","children":null,"spread":false},{"title":"resources","children":[{"title":"pages","children":[{"title":"main_page.md <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"diagrams","children":[{"title":"dfa_operator.dot <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"dfa_braces.png <span style='color:#111;'> 84.36KB </span>","children":null,"spread":false},{"title":"dfa_braces.dot <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"dfa_punct.png <span style='color:#111;'> 72.25KB </span>","children":null,"spread":false},{"title":"dfa_punct.dot <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"dfa_main.png <span style='color:#111;'> 127.10KB </span>","children":null,"spread":false},{"title":"dfa_operator.png <span style='color:#111;'> 155.37KB </span>","children":null,"spread":false},{"title":"dfa_main.dot <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"theme","children":[{"title":"doxygen-awesome.css <span style='color:#111;'> 25.67KB </span>","children":null,"spread":false},{"title":"doxygen-awesome-sidebar-only.css <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"grammar","children":[{"title":"grammar_LL(1).grm <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"grammar_EBNF.grm <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"grammar_LL(1)_action.grm <span style='color:#111;'> 4.69KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"repositories.manifest <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"files","children":[{"title":"polynomial.src <span style='color:#111;'> 5.03KB </span>","children":null,"spread":false},{"title":"bubblesort.src <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"toy_compiler","children":[{"title":"front_end","children":[{"title":"parser.test.testscript <span style='color:#111;'> 113B </span>","children":null,"spread":false},{"title":"lexer.cpp <span style='color:#111;'> 19.28KB </span>","children":null,"spread":false},{"title":"parser.cpp <span style='color:#111;'> 8.35KB </span>","children":null,"spread":false},{"title":"source_location.hpp <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"sem","children":[{"title":"token_type.test.testscript <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"token_type.hpp <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"token_type.test.cpp <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"grammar_type.hpp <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"grammar_type.test.testscript <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":"grammar_type.test.cpp <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"actions.hpp <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":false},{"title":"parser.test.cpp <span style='color:#111;'> 957B </span>","children":null,"spread":false},{"title":"parser.hpp <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"lexer.test.cpp <span style='color:#111;'> 15.18KB </span>","children":null,"spread":false},{"title":"lexer.hpp <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"utility.hpp <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"lexer.test.testscript <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"grammar","children":[{"title":"symbol.test.testscript <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":"production.hpp <span style='color:#111;'> 20.10KB </span>","children":null,"spread":false},{"title":"production_table.hpp <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"production.test.testscript <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"production_table.test.testscript <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":"symbol.hpp <span style='color:#111;'> 9.51KB </span>","children":null,"spread":false},{"title":"symbol.test.cpp <span style='color:#111;'> 8.72KB </span>","children":null,"spread":false},{"title":"production_table.cpp <span style='color:#111;'> 40.42KB </span>","children":null,"spread":false},{"title":"production.test.cpp <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"production.cpp <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"production_table.test.cpp <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"utility.cpp <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"ast_bis","children":[{"title":"operator.cpp <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"literals.hpp <span style='color:#111;'> 612B </span>","children":null,"spread":false},{"title":"compound_stmt.hpp <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"factor.hpp <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"declaration.hpp <span style='color:#111;'> 6.12KB </span>","children":null,"spread":false},{"title":"compound_stmt.cpp <span style='color:#111;'> 321B </span>","children":null,"spread":false},{"title":"declaration.cpp <span style='color:#111;'> 10.02KB </span>","children":null,"spread":false},{"title":"function_decl.cpp <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"node.cpp <span style='color:#111;'> 20.41KB </span>","children":null,"spread":false},{"title":"node.hpp <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"statement.cpp <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"function_decl.hpp <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"operator.hpp <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"factor.cpp <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"statement.hpp <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"literals.cpp <span style='color:#111;'> 713B </span>","children":null,"spread":false}],"spread":false},{"title":"test_files","children":[{"title":"parser","children":[{"title":"polynomial.src <span style='color:#111;'> 5.01KB </span>","children":null,"spread":false},{"title":"bubblesort.src <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"lexer","children":[{"title":"braces_valid.txt <span style='color:#111;'> 11B </span>","children":null,"spread":false},{"title":"chars_invalid.txt <span style='color:#111;'> 13B </span>","children":null,"spread":false},{"title":"comment_valid.txt <span style='color:#111;'> 166B </span>","children":null,"spread":false},{"title":"string_invalid.txt <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"id_invalid.txt <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"num_valid.txt <span style='color:#111;'> 64B </span>","children":null,"spread":false},{"title":"punctuation_valid.txt <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"float_invalid.txt <span style='color:#111;'> 127B </span>","children":null,"spread":false},{"title":"comment_invalid.txt <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"operators_valid.txt <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"string_valid.txt <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"id_valid.txt <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"float_valid.txt <span style='color:#111;'> 75B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"core","children":[{"title":"application.test.cpp <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"application.cpp <span style='color:#111;'> 4.74KB </span>","children":null,"spread":false},{"title":"application.test.testscript <span style='color:#111;'> 113B </span>","children":null,"spread":false},{"title":"application.hpp <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false}],"spread":false},{"title":"util","children":[{"title":"strong_type.hpp <span style='color:#111;'> 7.11KB </span>","children":null,"spread":false},{"title":"logger.cpp <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false},{"title":"logger.hpp <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false}],"spread":false},{"title":"buildfile <span style='color:#111;'> 603B </span>","children":null,"spread":false},{"title":"toy_compiler.cpp <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 101B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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