From 66b170a27f28816d81c58de19b682afe7683d925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=88=AA=E5=AE=87?= <3364451258@qq.com> Date: Sat, 6 Jun 2026 20:20:50 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20CLAUDE.md=20=E5=8F=8D=E6=98=A0=20desuga?= =?UTF-8?q?r=20pass=20+=20=E6=96=87=E4=BB=B6=E8=A1=8C=E6=95=B0=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- CLAUDE.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 9269e05..d16543c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -135,8 +135,9 @@ L Language/ │ │ └── lexer.h/c 手写状态机,72 种 Token 类型 │ ├── parser/ │ │ ├── parse_internal.h 共享 Parser struct + 内联辅助 -│ │ ├── parser.h/c 语句/声明/程序入口 (662 行) -│ │ └── expr.c 表达式/类型解析 (498 行, Pratt 主循环) +│ │ ├── parser.h/c 语句/声明/程序入口 (564 行) +│ │ ├── expr.c 表达式/类型解析 (484 行, Pratt 主循环) +│ │ └── desugar.h/c 独立去糖 pass (109 行, match/guard/for/if-let/复合赋值) │ ├── ast/ │ │ └── ast.h/c 27 种 AST 节点 + 工厂函数 │ ├── sema/