# C--Compiler **Repository Path**: Seary2/c--compiler ## Basic Information - **Project Name**: C--Compiler - **Description**: This is a simple .sy(c-- language) complier, which is a subset of llvm or g++. - **Primary Language**: C++ - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 1 - **Created**: 2025-05-03 - **Last Updated**: 2025-06-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # **C-- Compiler** 一个简单的 **C-- 语言编译器**,支持词法分析、语法分析、语义分析及中间代码生成。 ## **📦 项目结构** ``` compiler/ ├── compiler_ir/ # 中间表示(IR)生成模块 │ ├── src/ # 源代码 │ ├── include/ # 头文件 │ └── CMakeLists.txt # 构建配置 ├── tests/ # 测试用例 ├── docs/ # 文档(设计报告、使用说明) └── .gitignore # Git 忽略规则 ``` ## **🛠 开发指南** ### **如何贡献代码** 1. **Fork 本仓库**,并克隆你的 Fork: ```bash git clone https://gitee.com/Seary2/c--compiler.git ``` 2. **提交更改**: ```bash git add . git commit -m "feat: add your feature" git push ```