Commit Graph

101 Commits

Author SHA1 Message Date
爱特每羊队 d3ed1113ef feat: 编译管线/类型层 crate 补全多级日志宏 + 关键路径日志 2026-08-10 17:56:28 +08:00
爱特每羊队 d1675c217d fix(vm): 子模块全局扁平化根治逃逸闭包上下文错位 2026-08-07 10:49:15 +08:00
爱特每羊队 328b8a3ddc docs: 补充注释与格式化 2026-08-06 23:10:27 +08:00
爱特每羊队 a763e7ab75 feat(compiler): 管线接入 liveness/精确DCE/RegAlloc + --no-regalloc flag(D-17/D-18) 2026-08-06 17:56:55 +08:00
爱特每羊队 bbba23b93a feat(compiler): Compiler 增加 enable_dce 字段与 with_dce 开关(D-10)
- unit struct 改带字段 struct,new() 默认开启 DCE
- compile 在 emit 与 lower 之间插入 oxide_dce::dce(nested 不递归 D-03)
- Cargo.toml 追加 oxide_dce path 依赖;dev 环经 resolver v2 解析通过
2026-08-06 11:45:26 +08:00
爱特每羊队 f461235f04 docs: 添加 Rustdoc 注释 2026-08-05 21:46:47 +08:00
爱特每羊队 bbdfca1a1c refactor(compiler): 拆分 oxide_emit 为独立 emit pass crate(依赖倒置) 2026-08-05 20:13:18 +08:00
爱特每羊队 9f02985a82 refactor(ir): 拆分 oxide_ir 为独立 crate 2026-08-05 19:34:44 +08:00
爱特每羊队 b93847564e refactor(compiler): 拆分闭包分析与预扫描模块,拆分函数体编译子步骤 2026-08-05 19:29:02 +08:00
爱特每羊队 b611e26f11 fix(compiler): 完善闭包捕获(cell 索引稳定、参数遮蔽、函数/类名捕获、b 槽立即数) 2026-08-05 19:19:29 +08:00
爱特每羊队 3390b61453 fix(compiler): 重写闭包捕获分析为 AST 级,修复 MAKE_CELL 时序 2026-08-05 18:41:48 +08:00
爱特每羊队 845ba2884a chore(compiler): 清理过时 dead_code 标注与空代码块 2026-08-05 18:26:46 +08:00
爱特每羊队 3931d2062e refactor(compiler): 抽取 assemble_ir 共用出口组装 2026-08-05 17:55:32 +08:00
爱特每羊队 1c328f5081 refactor(compiler): 原子切换 emit 产出符号化 IR 2026-08-05 17:52:42 +08:00
爱特每羊队 22f1275f6b fix: 修复编译阶段缺失的预注册顶层 var 名步骤 2026-08-05 15:21:00 +08:00
爱特每羊队 211cbe2f5d fix: 编译阶段预扫描 builtin 避免寄存器分配问题 2026-08-05 13:28:51 +08:00
爱特每羊队 8ee6781795 refactor(compiler): finalize single pass compilation 2026-08-05 10:27:30 +08:00
爱特每羊队 0f78f341fa refactor(compiler): remove class count helpers 2026-08-05 10:27:29 +08:00
爱特每羊队 fd4172203e refactor(compiler): remove expression count helpers 2026-08-05 10:27:29 +08:00
爱特每羊队 b8bb208825 refactor(compiler): remove iteration count helpers 2026-08-05 10:27:29 +08:00
爱特每羊队 4a2bf09f78 refactor(compiler): remove statement jump count helpers 2026-08-05 10:27:28 +08:00
爱特每羊队 faa326c039 refactor(compiler): remove simple expression count helpers 2026-08-05 10:27:28 +08:00
爱特每羊队 3ce7fd587d refactor(compiler): remove statement count helpers 2026-08-05 10:27:28 +08:00
爱特每羊队 638da1f481 refactor(compiler): compile modules in one pass 2026-08-05 00:49:13 +08:00
爱特每羊队 ac818b0821 feat(compiler): add deferred jump fixups 2026-08-04 21:10:10 +08:00
爱特每羊队 13cf9127e3 refactor: 清除旧代码并展开 crate 2026-07-05 18:43:22 +08:00
爱特每羊队 ff6de1e4e7 refactor: 拆分编译流水线过程以避免逻辑漂移 2026-07-05 14:41:08 +08:00
爱特每羊队 a4c13c4f6a fix: 接通透传闭包值链路 2026-06-30 23:57:22 +08:00
爱特每羊队 a17f98b02d fix: 修复闭包值传递链路 2026-06-30 22:52:25 +08:00
爱特每羊队 1b25cc1578 fix: 分析时跳过继承作用域,避免将外层 var 误判为嵌套函数本地变量 2026-06-30 22:05:46 +08:00
爱特每羊队 b944aa2832 fix: 修复嵌套函数调用并接通闭包捕获链路 2026-06-30 21:52:18 +08:00
爱特每羊队 4fdbb667da style: 自动格式化 2026-06-30 20:49:56 +08:00
爱特每羊队 4271b7e348 fix: 修复嵌套函数调用并接通闭包捕获链路 2026-06-30 20:49:23 +08:00
爱特每羊队 b915f127ca feat: 搭建闭包捕获基础设施 2026-06-30 19:58:58 +08:00
爱特每羊队 05b149b275 fix: 顶层 count pass 镜像 emit 的函数提升顺序,消除跳转目标漂移导致的死循环 2026-06-30 16:01:00 +08:00
爱特每羊队 6a77742dad fix: 对齐 ?? 与静态成员复合赋值的 counter/emitter 计数,并加 projected_pc 断言 2026-06-27 21:07:16 +08:00
爱特每羊队 6d52c467e7 fix: 对齐 class 体 counter/emitter 指令条数,修私有方法、计算键、派生构造器字段注入位置的跳转漂移 2026-06-27 20:50:12 +08:00
爱特每羊队 242e94af09 fix: 对齐 counter/emitter 指令条数,修解构参数、数组赋值元素、解构catch、for-init 无初始化的跳转漂移 2026-06-27 20:32:33 +08:00
爱特每羊队 a032a0a0fe feat: 为 Array/String 原型方法添加入口和错误路径结构化日志,编译器添加阶段边界日志 2026-06-26 21:24:18 +08:00
爱特每羊队 db0444dabd refactor: CompileCtx 拆分为 LabelCtx/ScopeCtx,字面量域改用注册表入口 2026-06-25 19:46:35 +08:00
爱特每羊队 06f769c4e0 perf: 不可变常量改 OnceLock 一次性缓存,删 Constant 死变体并移出 GC 根 2026-06-25 14:32:49 +08:00
爱特每羊队 5007e7af7c feat: 增加 CreateClosure 字节码,函数字面量每次执行创建新闭包 2026-06-25 10:16:32 +08:00
爱特每羊队 38657d2171 refactor: 移除代码注释中的文档内部编号引用 2026-06-24 16:03:53 +08:00
爱特每羊队 6bf5daa1af refactor: 清理未使用符号,合并bind_constructor宏,统一init/rebind绑定列表,bind_number改为表驱动 2026-06-24 12:12:44 +08:00
爱特每羊队 9d43314242 feat: 实现 SequenceExpression + 带标签 break/continue + EmptyStatement 2026-06-23 23:00:20 +08:00
爱特每羊队 dbc15f6d1f refactor: 拆分 bytecode/cache crate 并模块化 counter 2026-06-23 17:06:39 +08:00
爱特每羊队 f7db0230f7 fix: 封装字节码计数并修复 for-of 解构偏移 2026-06-23 16:21:39 +08:00
爱特每羊队 933612c89d fix: 修复全局边界安全与内存稳定性问题 2026-06-22 19:43:00 +08:00
爱特每羊队 1016f432f1 feat: 支持可选链空值合并与逻辑赋值 2026-06-18 15:26:16 +08:00
爱特每羊队 9db28b22d6 fix: 修复 Map/Set GC 追踪与 CodeForge 缓存键 2026-06-17 09:38:48 +08:00