CompilersHomework

所属分类:文章/文档
开发工具:Jupyter Notebook
文件大小:0KB
下载次数:0
上传日期:2021-11-09 13:17:33
上 传 者sh-1993
说明:  2019年秋季,科大编译原理与技术课程的编程作业。如果你是...的TA或主管,请联系我...,
(Programming homework for the principles and techniques of compilers course in USTC, autumn 2019. Contact me if you re TA or supervisor of this course and want this removed.)

文件列表:
CMINUS.md (31, 2021-11-09)
CMakeLists.txt (807, 2021-11-09)
How-to-use-cmake.md (3217, 2021-11-09)
Report/ (0, 2021-11-09)
calc_test/ (0, 2021-11-09)
calc_test/cal.l (430, 2021-11-09)
calc_test/cal.y (899, 2021-11-09)
cminus_compiler.c (27, 2021-11-09)
common/ (0, 2021-11-09)
common/CMakeLists.txt (38, 2021-11-09)
common/common.c (1028, 2021-11-09)
common/common.h (532, 2021-11-09)
do_cmake.sh (89, 2021-11-09)
genhomework.sh (230, 2021-11-09)
lab1_lexical_analyzer/ (0, 2021-11-09)
lab1_lexical_analyzer/CMINUS.md (2712, 2021-11-09)
lab1_lexical_analyzer/CMakeLists.txt (489, 2021-11-09)
lab1_lexical_analyzer/Flex绠鍗曚娇鐢.md (2026, 2021-11-09)
lab1_lexical_analyzer/Makefile (73, 2021-11-09)
lab1_lexical_analyzer/Sharing/ (0, 2021-11-09)
lab1_lexical_analyzer/Sharing/gcd.c (364, 2021-11-09)
lab1_lexical_analyzer/TA_tokens/ (0, 2021-11-09)
lab1_lexical_analyzer/TA_tokens/gcd.tokens (1278, 2021-11-09)
lab1_lexical_analyzer/doc/ (0, 2021-11-09)
lab1_lexical_analyzer/doc/lab1-report.md (3389, 2021-11-09)
lab1_lexical_analyzer/lexical_analyzer.c (1273, 2021-11-09)
lab1_lexical_analyzer/lexical_analyzer.h (767, 2021-11-09)
lab1_lexical_analyzer/lexical_analyzer.l (5344, 2021-11-09)
lab1_lexical_analyzer/old.l (884, 2021-11-09)
lab1_lexical_analyzer/test_lex.c (113, 2021-11-09)
... ...

# Compilers Homework Labs for "Principles and Techniques of Compilers" course by Cheng Li, USTC 2019. `lab1_lexical_analyzer`: Lab1, lexical analyzer, using flex `lab2_syntax_analyzer`: Lab2, syntax analyzer, using bison and lab1, from source code to syntax tree `lab3-0`: Warmup about LLVM code generation `lab3-1`: The main CMinus Compiler: syntax tree to LLVM IR `lab3-2`: Source code reading report for LLVM Pass(dce and adce) `lab4`: RISC-V machine code generation and execution & LLVM RegAllocFast source code reading Detailed compile/run instructions and lab requirements can be found in README files in subdirectories. See Also [CminusC](https://github.com/ustcpetergu/CminusC) which combines these code as a whole project and is easy to run. Made this open because many other students have done so, but do contact me if you're TA or supervisor of this course and want this removed.

近期下载者

相关文件


收藏者