Merge remote-tracking branch 'educoder/master'
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
# Git Commit Message 规范
|
||||
|
||||
## 1. 格式
|
||||
|
||||
```text
|
||||
<type>(<scope>): <subject>
|
||||
```
|
||||
|
||||
说明:
|
||||
|
||||
- `<type>`:提交类型(必填)
|
||||
- `<scope>`:影响范围/模块(必填)
|
||||
- `<subject>`:用一句中文说明“做了什么”(必填)
|
||||
|
||||
---
|
||||
|
||||
## 2. type 列表
|
||||
|
||||
统一使用小写:
|
||||
|
||||
| type | 含义 |
|
||||
|---|---|
|
||||
| `feat` | 新功能 |
|
||||
| `fix` | 修复 bug |
|
||||
| `docs` | 文档变更 |
|
||||
| `style` | 仅格式/风格(不改语义) |
|
||||
| `refactor` | 重构(不改变外部行为) |
|
||||
| `perf` | 性能优化 |
|
||||
| `test` | 测试相关 |
|
||||
| `build` | 构建系统 |
|
||||
| `ci` | CI 相关 |
|
||||
| `chore` | 杂项维护 |
|
||||
| `revert` | 回滚提交 |
|
||||
|
||||
---
|
||||
|
||||
## 3. scope 列表
|
||||
|
||||
建议从以下范围中选择(保持一致即可):
|
||||
|
||||
| scope | 含义 |
|
||||
|---|---|
|
||||
| `frontend` | 前端(语法解析、语法树打印等) |
|
||||
| `sema` | 语义分析(符号表、常量求值等) |
|
||||
| `ir` | IR 核心结构 |
|
||||
| `irgen` | 语法树 → IR 生成 |
|
||||
| `mir` | Machine IR(指令选择、寄存器分配、栈帧等) |
|
||||
| `backend` | 后端目标相关(如需要可细化 `aarch64`) |
|
||||
| `antlr` | 语法文件/ANTLR 相关 |
|
||||
| `build` | 构建配置 |
|
||||
| `test` | 测试 |
|
||||
| `doc` | 文档 |
|
||||
| `dev` | 开发流程/工具(hooks、脚本、规范等) |
|
||||
BIN
doc/images/01.png
Normal file
BIN
doc/images/01.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 640 KiB |
BIN
doc/images/02.png
Normal file
BIN
doc/images/02.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 629 KiB |
BIN
doc/images/03.png
Normal file
BIN
doc/images/03.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
BIN
doc/images/04.png
Normal file
BIN
doc/images/04.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 459 KiB |
BIN
doc/images/05.png
Normal file
BIN
doc/images/05.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 639 KiB |
Reference in New Issue
Block a user