Commit Graph

13 Commits

Author SHA1 Message Date
pjh123 c58aae4862 feat: 搭建闭包捕获基础设施 2026-06-30 19:58:58 +08:00
pjh123 930b14b3f0 fix: count pass 注册顶层 var 名,hoisted 函数声明可解析外层 var 2026-06-30 16:37:50 +08:00
pjh123 8d23c83ce2 fix: 对齐 ?? 与静态成员复合赋值的 counter/emitter 计数,并加 projected_pc 断言 2026-06-27 21:07:16 +08:00
pjh123 03c9809c30 fix: 对齐 class 体 counter/emitter 指令条数,修私有方法、计算键、派生构造器字段注入位置的跳转漂移 2026-06-27 20:50:12 +08:00
pjh123 3794ae3fd5 fix: 对齐 counter/emitter 指令条数,修解构参数、数组赋值元素、解构catch、for-init 无初始化的跳转漂移 2026-06-27 20:32:33 +08:00
pjh123 54e35bfeea fix: 解构赋值 rest 目标按 emitter 递归计数,修嵌套 rest 死循环 2026-06-27 19:18:31 +08:00
pjh123 804a516e38 refactor: 完成语法域入口点迁移,收紧内部方法可见性 2026-06-25 21:56:30 +08:00
pjh123 f7bcfd3846 refactor: CompileCtx 拆分为 LabelCtx/ScopeCtx,字面量域改用注册表入口 2026-06-25 19:46:35 +08:00
pjh123 63737ef74d feat: 增加 CreateRegExp 字节码,正则字面量每次执行创建新对象 2026-06-25 10:28:35 +08:00
pjh123 3ea2353194 feat: 实现 SequenceExpression + 带标签 break/continue + EmptyStatement 2026-06-23 23:00:20 +08:00
pjh123 8a6fac5ef7 refactor: 拆分 counter expression 计数分发 2026-06-23 17:58:19 +08:00
pjh123 0170354250 refactor: 拆分 counter statement 计数分发 2026-06-23 17:45:59 +08:00
pjh123 be87e4e21b refactor: 拆分 bytecode/cache crate 并模块化 counter 2026-06-23 17:06:39 +08:00