@yuyan-lang/fixity-migration
BMigration from component-based operators to fixity-based operators in the Yuyan self-hosting compiler
Install
agr install @yuyan-lang/fixity-migration --target claudeWrites 1 file into .claude/skills/, pinned to git-149b30a1.
- .claude/skills/fixity-migration/SKILL.md
Document
name: fixity-migration description: Migration from component-based operators to fixity-based operators in the Yuyan self-hosting compiler
Fixity Migration
Done
操作符数据结构。豫: 新Fixity类型 (FxNone | FxOp(Int) | FxComp(String))构造操作符简化为 keyword + left_fixity + right_fixity + elaborator + name- 删除了
组件、优先级关系、绑定组件、特殊字符串组件、字符串组件、元素组件
待更新(引用旧类型的文件)
操作符操作。豫—获取标号、组件表示、获取所有组件、操作符是开放的等用到了旧字段操作符集术。豫—插入闭合操作符、插入开放操作符、优先级计算内建操作符对象定义。豫— 所有操作符定义要转成新 fixity 格式表达式解析。豫—匹配组件获取参数改为基于 fixity 的 operand pop表达式解析输入分析。豫— 操作符匹配和归约逻辑符列环境术。豫— 操作符集读写抽象语法分析。豫— 操作符声明处理(术关键字)粗语法分析。豫— 结构名称操作
编译
- 用
yy_bs_stable编译,不用yy - 每次改动后验证
Trustgrade B
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- warnLicensecopyleft/unknown — index-and-link only
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-149b30a1a2312026-07-31