爱特每羊队
|
604ecca793
|
test(ir): 迁移 lowering 测试到 oxide_ir(测试随实现落位)
|
2026-08-06 14:11:54 +08:00 |
|
爱特每羊队
|
be52064765
|
test(compiler): compile_multiple_stmts 锚按 D-11 放宽为存在性断言
DCE 默认开启删除死 '1; 2' 链的 LOAD_CONST,仅剩顶层值 '3'。
精确计数断言 load_count >= 3 实测失败,放宽为 any(LOAD_CONST)。
|
2026-08-06 12:16:51 +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 |
|
爱特每羊队
|
f12c2a451e
|
test(ir): 补 IR 结构测试
|
2026-08-05 18:03:21 +08:00 |
|
爱特每羊队
|
28ccfce1b7
|
test(compiler): 补薄弱域字节码断言测试
|
2026-08-05 18:01:42 +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 |
|
爱特每羊队
|
097153ec08
|
feat(ir): 实现 IRFunction 到字节码的 lowering 转换
|
2026-08-05 17:24:35 +08:00 |
|
爱特每羊队
|
2a3a9a1412
|
feat(ir): 新增 Operand/Inst/IRFunction 类型系统与构造 API
|
2026-08-05 17:17:51 +08:00 |
|
爱特每羊队
|
22f1275f6b
|
fix: 修复编译阶段缺失的预注册顶层 var 名步骤
|
2026-08-05 15:21:00 +08:00 |
|
爱特每羊队
|
0d16d509b2
|
fix: 逐个按顺序处理 field 与 block 以符合 JS 类元素源码顺序语义
|
2026-08-05 15:04:44 +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 |
|
爱特每羊队
|
f4897c30bc
|
refactor(compiler): resolve logical assignments through fixups
|
2026-08-05 00:42:02 +08:00 |
|
爱特每羊队
|
01bcde2656
|
refactor(compiler): emit optional chain jumps through fixups
|
2026-08-05 00:38:11 +08:00 |
|
爱特每羊队
|
58b998a32d
|
refactor(compiler): emit logical jumps through fixups
|
2026-08-05 00:34:39 +08:00 |
|
爱特每羊队
|
510a0dd96e
|
refactor(compiler): emit loop jumps through fixups
|
2026-08-05 00:30:45 +08:00 |
|
爱特每羊队
|
ff400c47c2
|
refactor(compiler): emit control jumps through fixups
|
2026-08-05 00:24:12 +08:00 |
|
爱特每羊队
|
ac818b0821
|
feat(compiler): add deferred jump fixups
|
2026-08-04 21:10:10 +08:00 |
|
爱特每羊队
|
3389fe40ef
|
refactor: 拆分 class 相关编译逻辑
|
2026-07-05 19:13:58 +08:00 |
|
爱特每羊队
|
13cf9127e3
|
refactor: 清除旧代码并展开 crate
|
2026-07-05 18:43:22 +08:00 |
|
爱特每羊队
|
0511f318ac
|
fix: 修复 SET_PROP_DYNAMIC 额外寄存器计数问题
|
2026-07-05 15:55:27 +08:00 |
|
爱特每羊队
|
41552dca5a
|
refactor: 按逻辑归类 emit 和 count 函数,并消除通配导入
|
2026-07-05 15:35:58 +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 |
|
爱特每羊队
|
429cb6d9de
|
style: 自动格式化
|
2026-06-30 20:04:27 +08:00 |
|
爱特每羊队
|
b915f127ca
|
feat: 搭建闭包捕获基础设施
|
2026-06-30 19:58:58 +08:00 |
|
爱特每羊队
|
caa50afbe6
|
fix: count pass 注册顶层 var 名,hoisted 函数声明可解析外层 var
|
2026-06-30 16:37:50 +08:00 |
|
爱特每羊队
|
05b149b275
|
fix: 顶层 count pass 镜像 emit 的函数提升顺序,消除跳转目标漂移导致的死循环
|
2026-06-30 16:01:00 +08:00 |
|
爱特每羊队
|
5feba7c20d
|
style: 修复 clippy --all-targets 告警
|
2026-06-30 15:18:13 +08:00 |
|
爱特每羊队
|
6a77742dad
|
fix: 对齐 ?? 与静态成员复合赋值的 counter/emitter 计数,并加 projected_pc 断言
|
2026-06-27 21:07:16 +08:00 |
|