Commit Graph

983 Commits

Author SHA1 Message Date
pjh123 43c4e5c7ba refactor: kernel 共享核心段拆出独立 core 模块 2026-09-16 05:13:02 +00:00
pjh123 085900442e refactor: 内置 id 枚举与脏集拆出独立 builtin_id 模块 2026-09-16 04:52:36 +00:00
pjh123 0b2761725d refactor: kernel 配置拆出独立 config 模块 2026-09-16 04:43:15 +00:00
pjh123 63a1e84956 refactor: builtin 注册表与结构体拆出独立 world 模块 2026-09-16 04:18:56 +00:00
pjh123 f08e35c5f2 refactor: builtin 实例化段拆出独立 construct 模块 2026-09-16 02:36:06 +00:00
pjh123 5da802f039 refactor: builtin 脏重建段拆出独立 rebuild 模块 2026-09-16 02:20:20 +00:00
pjh123 cb3793ab68 refactor: builtin 方法安装段拆出独立 bind 模块 2026-09-16 02:01:10 +00:00
pjh123 2c9546ca55 refactor: builtin 模块目录化并拆出方法指针表 2026-09-16 01:40:31 +00:00
pjh123 96a26d17dc test: builtin 内联测试外移 释放重指自测留内联 2026-09-16 00:45:12 +00:00
pjh123 6f7c54fc6b test: kernel.rs 内联测试移入集成测试 2026-09-16 00:43:32 +00:00
pjh123 db477c2776 test: shape_forge 测试外移 overflow 四测留内联 2026-09-16 00:36:08 +00:00
pjh123 61f590f118 test: oxide_kernel forge 内联测试移入集成测试 2026-09-16 00:31:44 +00:00
pjh123 31f5fd8eaa refactor: 删除类域空占位模块 2026-09-15 23:28:17 +00:00
pjh123 fa4c9edb81 refactor: 闭包捕获分析拆目录并自由函数化去除接收者 2026-09-15 23:02:03 +00:00
pjh123 985c27e5bb refactor: prepass.rs 拆目录四文件 零逻辑零可见性改动 2026-09-15 22:49:04 +00:00
pjh123 423f075ddc refactor: 顶层程序发射迁出 emit.rs 独立成 program 模块 2026-09-15 22:27:29 +00:00
pjh123 4c9d3f2873 refactor: 函数体编译链迁出 emit.rs 独立成 function_body 模块 2026-09-15 21:42:31 +00:00
pjh123 5efc64dc71 refactor: 错误守卫四函数迁出 emit.rs 独立成 errors 模块 2026-09-15 21:19:29 +00:00
pjh123 dc6d825cae refactor: CompileCtx 状态族迁出 emit.rs 独立成 compile_ctx 模块 2026-09-15 21:16:31 +00:00
pjh123 536a97eb5e test: 新增 emit 顶层与模块链接 IR 集成测试网 2026-09-15 21:02:50 +00:00
pjh123 50cfad32ed test: BuiltinId::ALL 顺序加编译期断言钉死 2026-09-15 20:29:52 +00:00
pjh123 3986aec50e test: alloc 与 AllocMap 单测移入 regalloc 集成测试 2026-09-15 20:25:46 +00:00
pjh123 2a2db136de test: 染色决策单测移入 regalloc 集成测试 2026-09-15 20:12:47 +00:00
pjh123 8224057987 test: 调用窗口编码单测移入 regalloc 集成测试 2026-09-15 20:10:30 +00:00
pjh123 932080f143 test: 代码缓存单测移入集成测试 2026-09-15 19:58:18 +00:00
pjh123 bbb8bbfa6d test: 内联测试移入 oxide_cfg 集成测试 2026-09-15 19:56:56 +00:00
pjh123 01cff614cb docs: object 模块头改写为门面与对象本体职责描述 2026-09-15 19:22:02 +00:00
pjh123 3064be52fe refactor: 属性槽读写族下沉对象子模块并放宽四处可变访问器可见性 2026-09-15 18:51:14 +00:00
pjh123 af59f6f9a9 refactor: 属性元数据与闭包 cell 等四小项下沉对象子模块 2026-09-15 18:37:53 +00:00
pjh123 81059f49c8 refactor: 字符串族下沉对象模块 string 子模块 2026-09-15 18:19:23 +00:00
pjh123 875f6dac60 test: 对象模块内联测试整块迁入兄弟测试文件 2026-09-15 18:05:00 +00:00
pjh123 66ad14159d test: 值/形状/私有键/内存内联测试迁入兄弟测试文件 2026-09-15 18:04:15 +00:00
pjh123 263bdb5d27 test: 内联测试移入 oxide_dce 集成测试 2026-09-15 17:50:18 +00:00
pjh123 f834c2dd9c test: runtime_api 公开 API 测试移入集成测试 2026-09-15 17:45:15 +00:00
pjh123 f8ca6ddc92 refactor: runtime_api 强转函数族整体移入 coercion 模块 2026-09-15 17:41:07 +00:00
pjh123 c2f0df9cf1 refactor: runtime_api 返回值类型与 trait 面拆出独立模块 2026-09-15 17:34:54 +00:00
pjh123 b0ed3641f3 test: 构造器内联测试移入 oxide_ir 集成测试 2026-09-15 17:21:01 +00:00
pjh123 7b1a37cd66 test: 契约内联测试移入 oxide_ir 集成测试 2026-09-15 17:20:26 +00:00
pjh123 54c1da6433 fix: eval 顶层 let/const 的 delete 探针臂收窄至 var/函数名集 2026-09-15 17:05:59 +00:00
pjh123 6cde7738b1 fix: 块级函数声明支臂不再块入口物化,声明点按入口物化状态区分写回 2026-09-15 16:41:37 +00:00
pjh123 7ca2f764c2 test: 移除 var 与 let 寄存器数相等的过时断言 2026-09-15 15:21:20 +00:00
pjh123 0418820115 fix: 块级函数 builtin 名守卫收窄至只读三常量面,可配置 builtin 恢复实例化写回 2026-09-15 06:42:12 +00:00
pjh123 1b26bc7ed8 fix: 块级函数声明闭包物化提前至块入口,声明点退化为外层 var 写回 2026-09-15 05:42:08 +00:00
pjh123 4452f1da69 fix: delete 标识符按 DeleteBinding 三分类发运行期探针,补真删与读侧效应 2026-09-15 05:03:28 +00:00
pjh123 aafd07728c fix: delete 非对象基按 ToObject 装箱判删,仅 null/undefined 基抛错 2026-09-15 03:56:18 +00:00
pjh123 320c660620 fix: 块级函数声明补 web-compat 外层 var 绑定实例化与声明点写回 2026-09-15 03:48:19 +00:00
pjh123 0f5bd1577e fix: 字符串面 GetIterator 尊重用户 @@iterator 覆盖
String 臂此前对原始串与装箱串一律走码元步进、忽略用户覆盖的
@@iterator。改为按 GetMethod 语义以值自身为 receiver 读 @@iterator
(原始串落 String.prototype、装箱串读自身→原型链),默认迭代器
自别名即 @@iterator 槽本身、以绑定层捕获的函数指针比较走快速
路径避免递归回本臂;覆盖则调用、receiver 为值。peek 对非字符串
原始值先装箱再读 @@iterator;Iterator.from 增 GetIteratorFlattenable
前置校验,非字符串原始值非对象 → TypeError(不装箱)。
2026-09-15 02:18:12 +00:00
pjh123 4b0b52ade3 fix: 语义重名诊断引擎侧复核,放行跨语句列的函数名合并
供应商语义检查器把"同语句列"近似为"声明域非 Top/Function
且前一项是函数声明",for-in/for-of 域用空 ScopeFlags 因而漏掉
Top|Function 守卫,误拒跨语句列的函数名与 var 头合法合并。
引擎侧在归一化前按 AST 复核:仅当函数非任一 block/case 列表
直接成员、或其外层链不含该列表时剔除该重名诊断,复核后无
剩余错误则落回解析成功。
2026-09-15 02:18:07 +00:00
pjh123 da5e6d13ba fix: for-in/of 词法头建独立 TDZ 环境,捕获与右值直读归正 2026-09-14 23:58:10 +00:00
pjh123 169e3aa62b fix: delete 补括号剥层与非引用目标恒真臂,未声明名归真 2026-09-14 23:54:56 +00:00