prompt/skills/compiler/SKILL.md
全链路开发与调试手册。
npx skillsauth add microindole/lency compilerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
点击下方链接加载特定 Crate 的深度工程手册:
| 阶段 | Crate | 专精领域 | 详细指南 |
|------|-------|---------|---------|
| 1. 语法 | lency_syntax | AST, Lexer, Parser | 查看指南 |
| 2. 语义 | lency_sema | 类型推导, 符号表, 空安全 | 查看指南 |
| 3. 实例化| lency_monomorph| 泛型单态化, 符号混淆 | 查看指南 |
| 4. 后端 | lency_codegen | LLVM IR, Inkwell, 布控 | 查看指南 |
| 5. 运行 | lency_runtime | C-FFI, 堆管理, Intrinsics | 查看指南 |
extern C 函数名。cargo run --bin lencyc -- check <file>cargo run --bin lencyc -- compile <file> -o <name>.ll --out-dir <dir>cargo run -p xtask -- check-rust| ID | 任务 | 操作路径 |
|----|------|---------|
| A1 | 加新关键字 | syntax/lexer -> syntax/parser/decl -> sema/resolver |
| A2 | 加内建方法 | runtime (C) -> codegen/intrinsic -> sema/type_check |
| A3 | 改语法结构 | syntax/ast -> syntax/parser -> sema -> codegen |
| A4 | 调试段错误 | emit-llvm -> clang -g -> gdb |
诊断系统 (lency_diagnostics)
tools
--- name: tooling summary: 该技能中的 editors/IDE 相关内容已迁移。 --- 该文件中的 Editors/IDE 路线内容已迁移至: - `editors/prompt/skills/tooling/SKILL.md` 本路径仅作迁移占位,避免旧引用直接失效。
tools
项目节奏控制与质量门禁。
tools
核心设计哲学与语法契约。
tools
负责 IDE 演进 (Regex->LSP)、包管理器设计及工具链生态。