https://github.com/billiefu/yatcompiler
This repository houses the course designs and corresponding implementations for the Compiler Construction Experiment (Java) course at Sun Yat-sen University, aiming to provide experimental approaches and implementation examples for students who need to complete related experiments in the future.
https://github.com/billiefu/yatcompiler
compiler java sysu-course
Last synced: about 1 year ago
JSON representation
This repository houses the course designs and corresponding implementations for the Compiler Construction Experiment (Java) course at Sun Yat-sen University, aiming to provide experimental approaches and implementation examples for students who need to complete related experiments in the future.
- Host: GitHub
- URL: https://github.com/billiefu/yatcompiler
- Owner: Billiefu
- License: epl-2.0
- Created: 2025-02-28T09:30:41.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-30T11:51:39.000Z (about 1 year ago)
- Last Synced: 2025-05-30T16:03:48.223Z (about 1 year ago)
- Topics: compiler, java, sysu-course
- Language: HTML
- Homepage:
- Size: 22.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 编译器构造实验 Java Edition [SYSU CSE 2024-2]
## 仓库说明
本仓库存储了中山大学2024-2学期**编译器构造实验**课程的所有实验设计及对应实现代码。该实验课程项目由李文军教授设计并发布,目的是为了帮助学生更深入地理解计算机语言在解决日常生活问题中的应用。语言不仅是解决问题的一种思维方式,也是探索世界和改变世界的关键工具。作为人类认识世界的结构化思维模式,编程语言不仅是问题解决的认知框架,更是知识表达和系统创新的关键媒介。本实验项目首先通过引导实验帮助学生熟悉Java语言,随后引导学生在掌握Java的基础上,学习如何独立构建一个编译器,并利用该编译器结合语言解决更多实际问题。本实验项目仅为编译器构造实验课程中的一个版本,对于对C++语言版本感兴趣的读者,可参考YatCC仓库,并完成相应的实验任务。([arcsysu/YatCC: 中山大学编译原理课程实验(完全重构版本) (github.com)](https://github.com/arcsysu/YatCC))
## 仓库内容
* Java 程序设计语言编码规范
* Lab01 计算个人所得税 PersonalTax
* Lab02 议程管理系统 Agenda
* Lab03 后缀表达式 Postfix
* Lab04 基于表达式的计算器 ExprEval
* Lab05 Oberon-0 逆向工程工具 ROSE
更多实验内容将基于课程进度给出其设计及实现
## 致谢
本人衷心感谢 *李文军教授* 在编译器构造实验方面给予的指导。教授的指导不仅在本人学习编译器构造的过程中起到了至关重要的引导作用,而且对于本人掌握工程化思维和开发技能也产生了深远的影响。同时,对于未婚妻 *马玉洁女士* 的不懈支持与默默鼓励,本人亦深表感激。