本仓库包含郑州大学编译原理课程的实验项目。该项目使用 Xmake 构建,这是一个基于 Lua 的跨平台构建工具。
我强烈建议你搭建一套基于Xmake的构建系统 Cmake滚出去!
- Xmake 构建系统:简化项目配置和依赖管理。
- C++20:使用次新的 C++20 标准进行编写。
├── src/ # 源代码文件
├── include/ # 头文件
├── xmake.lua # Xmake 配置文件
├── .clang-format # Clang-Format 配置文件
└── README.md # 项目文档
This repository contains the experiments for the Compilation Principle course at ZhengZhou University. The project is constructed using Xmake, a cross-platform build utility based on Lua.
- Xmake Build System: Easy project configuration and dependency management.
- C++20: Written using the latest C++20 standard.
├── src/ # Source code files
├── include/ # Header files
├── xmake.lua # Xmake configuration
├── .clang-format # Clang-Format configuration
└── README.md # Project documentation
## Getting Started
### Build the Project
#### Clone the repository:
```bash
git clone https://github.com/MayeAmiya/ZZU-Compilation-Principle.git
cd ZZU-Compilation-Principle
xmake build
xmake run
- If you want to debug the project: make sure you have GDB installed and configured for your environment. You can launch the debugger with the following command:
xmake run -d