Commit Graph

  • 858aba46d0 fix(HandlesImports): _seen_flat_cls 移到父类循环外,菱形去重真正生效 TermiNexus 2026-08-18 14:04:33 +08:00
  • b021c5b527 fix(HandlesImports): 跨模块 class_members 展平同步按继承源去重 TermiNexus 2026-08-18 13:44:22 +08:00
  • 97b714603d fix(HandlesExprCall): this_adjust 字段偏移计算剥离 sha1 前缀 TermiNexus 2026-08-18 13:32:01 +08:00
  • 7c6a497111 fix(DeclarationGenerator): 按自有字段展平时补齐祖先 vtable 指针 TermiNexus 2026-08-18 13:19:51 +08:00
  • 81ad712475 fix(Handles): 多继承字段展平按继承源去重,消除菱形重复 TermiNexus 2026-08-18 13:13:25 +08:00
  • 2922af79f1 fix(LLVMCG): 禁止对 null 指针常量做 load 转 int 字段 TermiNexus 2026-08-18 12:50:31 +08:00
  • 0e80019033 fix(subscript): 泛型 T|t.CPtr 指针槽变量优先走 i8** load,修 8fbba list[str].get 返回类型不匹配 TermiNexus 2026-08-18 10:12:06 +08:00
  • a2378e6878 chore(ast): Attribute.__init__ 加构造断点,定位 stdint.vp attr 垃圾来源 TermiNexus 2026-08-18 09:25:36 +08:00
  • 802377e9ab feat(ast): 加 Name/Attribute/Constant/BinOp 字段访问器,绕开跨模块 stub 字段访问陷阱 TermiNexus 2026-08-18 08:59:10 +08:00
  • 4f95867209 fix(llvmlite): PrintModule param_scan 改用访问器绕开 stub 字段访问陷阱 TermiNexus 2026-08-18 08:26:38 +08:00
  • 37e6dd1863 feat(llvmlite): 加 module_get_func_head 跨模块访问器,供 dump 诊断遍历函数链 TermiNexus 2026-08-18 08:17:51 +08:00
  • 1805790336 fix(tpv): vpi 参数数上限哨兵 + declare 链遍历哨兵,定位 builtins.vp dump 卡死根因 TermiNexus 2026-08-18 08:10:02 +08:00
  • f1db31b645 fix(llvmlite): dump 路径链表遍历加步数上限哨兵,把 IR 成环卡死变确定性报错 TermiNexus 2026-08-18 07:59:39 +08:00
  • 15faa1f7b1 perf(vast_c): slots 偏移直写绕过 Python _Init,解析加速 5.5x → 10.6x TermiNexus 2026-08-18 07:37:30 +08:00
  • 6613542d8e perf(compile): pyi 缓存落盘改增量构建,Phase2 新增 vpi 不再全量重建 TermiNexus 2026-08-18 07:27:02 +08:00
  • 94a065a386 perf(vast_c): 节点构造 tp_new 直构试验打平,回退 Vectorcall 并记录结论 TermiNexus 2026-08-18 07:23:41 +08:00
  • e37cc8d792 fix(vast_c): alias/keyword 节点补位置属性,201 文件全量对比零差异 TermiNexus 2026-08-18 07:07:21 +08:00
  • 6350b81307 feat(vast_c): extern/export 完整语义(注解改写+标记)并接入 vast.parse TermiNexus 2026-08-18 06:59:10 +08:00
  • d13b966604 fix(vast_c): 修复三处解析节点后未消费 token 的 bug(死循环/语法错误) TermiNexus 2026-08-18 06:50:27 +08:00
  • 0d15e8cb7a feat(vast_c): C 版解析器阶段 0——赋值/名字/数字子集,直接构造 vast.nodes 树 TermiNexus 2026-08-18 05:45:11 +08:00
  • e3886a244d perf(compile): 批次加权分桶消除长尾 + 共享符号表去重复序列化 + typedef 收集走 AST 缓存 TermiNexus 2026-08-18 05:36:12 +08:00
  • 7917be0fa1 perf(handles): stub 索引增量重建 + vtable on-demand pyi 缓存类级化,消除 worker 重复解析 TermiNexus 2026-08-18 05:27:53 +08:00
  • 043c65ee52 fix(vast): FunctionDef 槽位补 Extern/Export,修 __slots__ 回归 AttributeError TermiNexus 2026-08-18 05:12:09 +08:00
  • 68d180e718 perf(handles): 跨模块类声明分类/节点查找缓存,去重 _EmitExternalClassDeclLlvm TermiNexus 2026-08-17 23:27:44 +08:00
  • b760082be8 perf(compile): pyi 树 pickle 落盘 + worker initializer 预热,消除进程间重复 parse TermiNexus 2026-08-17 23:27:44 +08:00
  • 9605af8ea1 perf(vast): AST 节点类加 __slots__,去 __dict__ 提速降内存 TermiNexus 2026-08-17 23:27:43 +08:00
  • 50c0703afd feat(profiling): worker 进程导出 cProfile——TPC_WORKER_PROF 环境变量开关 TermiNexus 2026-08-17 22:42:14 +08:00
  • 3326c41702 perf(compile): 依赖扫描缓存键 abspath 归一化 + compute_sha1 缓存 TermiNexus 2026-08-17 22:20:29 +08:00
  • 5692e9b097 perf(stubgen): pyi 转换加缓存——convert 纯函数缓存 + Phase1 mtime 缓存 TermiNexus 2026-08-17 22:20:28 +08:00
  • e25095da43 perf(vast): _At 内联 _Peek(0) 缓存逻辑 + Node 构造 __dict__ 直写 TermiNexus 2026-08-17 22:20:28 +08:00
  • c2b04f5026 fix(compile): _LoadSha1Map 缓存补充只加载当前编译有效 sha1,修 9026a429f5e2d0e0.new_builder undefined symbol TermiNexus 2026-08-17 21:51:21 +08:00
  • 401429ccdf fix(generic): 特化 T 替换判据修正——t 模块内建类型(裸名或 t. 前缀)仍用 type_name TermiNexus 2026-08-17 21:44:40 +08:00
  • dd95bf5bd4 fix(handles): _try_operator_overLoad fallback 补回 SpecClass 初始化,修 UnboundLocalError TermiNexus 2026-08-17 21:25:25 +08:00
  • fa2cfef205 fix(generic): 特化 T 替换用 mangled 名 + operator fallback 选有 define 的特化 TermiNexus 2026-08-17 21:19:43 +08:00
  • bd0e541b74 fix(handles): 删除 [CD] lookup: 调试输出及无用 _is_cd_key 逻辑 TermiNexus 2026-08-17 21:00:52 +08:00
  • 3b5f2af838 fix(structgen): 跨模块 struct 兜底命名改查 _struct_sha1_map,修复 7cadfe07e983fd90.Translator 前缀错位 TermiNexus 2026-08-17 20:55:47 +08:00
  • 7e710d1e9a perf(vast): _Peek(0) 增加游标缓存,命中率 87% 降低解析热点开销 TermiNexus 2026-08-17 20:29:34 +08:00
  • e6b842f46b Revert "fix(compile): 移除 Projectrans.py 入口对已删除的 _parallel_translate_worker 的导入" TermiNexus 2026-08-17 20:28:24 +08:00
  • ecdb5c34c5 Revert "refactor(compile): 完全去除多进程,翻译/编译全部改顺序阻塞执行" TermiNexus 2026-08-17 20:28:24 +08:00
  • a341106a74 fix(compile): 移除 Projectrans.py 入口对已删除的 _parallel_translate_worker 的导入 TermiNexus 2026-08-17 20:23:33 +08:00
  • 15e8bc7c7d refactor(compile): 完全去除多进程,翻译/编译全部改顺序阻塞执行 TermiNexus 2026-08-17 20:22:45 +08:00
  • 6b9186848b fix(llvmlite): _type_str 增加 IR-FAIL 校验护栏,防 LLVMType 悬空生成垃圾 IR TermiNexus 2026-08-17 20:13:13 +08:00
  • e5af28fa93 fix(imports): NoneType 异常静默 + struct_body 判空,减少 WARN 干扰输出 TermiNexus 2026-08-17 20:07:35 +08:00
  • f66e119d1f perf(compile): App 翻译改批次子任务模型(多文件/任务 + 每文件重置 SymbolTable) TermiNexus 2026-08-17 20:01:33 +08:00
  • a28aacda0b fix(compile): 回退 worker 进程级复用,消除共享 SymbolTable 跨文件污染 TermiNexus 2026-08-17 19:58:28 +08:00
  • 2dbf348329 perf(vast): 回滚 _PosInfo 增量行查找(Python while 慢于 C bisect) TermiNexus 2026-08-17 19:46:14 +08:00
  • 08e7b8d0c0 fix(handles): 带前缀类名提取 class_sha1,启用 stub 查找修复 Undefined method TermiNexus 2026-08-17 19:35:24 +08:00
  • 1f3c83cb6d fix(handles): MRO 查找归一化带 sha1 前缀类名,修复继承方法 Undefined method TermiNexus 2026-08-17 19:11:48 +08:00
  • 3aebf402bb perf(compile): worker 进程级复用 Phase2Translator,消除每文件重复 pickle.load TermiNexus 2026-08-17 19:04:22 +08:00
  • 58ce673f01 perf(compile): TPC 编译提速——并行 worker 满核 + vast 解析器热点优化 TermiNexus 2026-08-17 18:56:55 +08:00
  • 5d93692baa feat(vast/ast): 新增 export 软关键字声明 CExport 函数(等价 t.CExport) TermiNexus 2026-08-17 12:12:32 +08:00
  • 451e7a0391 fix(ast/parser): extern 无 body 形式消费本行 NewLine,修复 Phase1a-pre 7 文件扫描失败 TermiNexus 2026-08-17 11:57:01 +08:00
  • a641c7c8da test(w32): 204 个 t.State 声明函数改用 extern 语法 TermiNexus 2026-08-17 10:49:39 +08:00
  • ce568e10b7 feat(vast/ast): 新增 extern 软关键字声明 FFI 函数(等价 t.State) TermiNexus 2026-08-17 10:41:44 +08:00
  • aa9042173e fix(vast): 修复 match 类模式与 or 模式解析与 CPython 不一致 TermiNexus 2026-08-17 10:22:29 +08:00
  • d7213d2197 fix(vast): 修复 Tokenizer 行号登记与 import/f-string 位置属性与 CPython 不一致 TermiNexus 2026-08-17 10:08:43 +08:00
  • 920c0ba677 fix(vast): 修复分号分隔语句误将 AST 节点传给 _FixLoc 导致 AttributeError TermiNexus 2026-08-17 09:38:00 +08:00
  • 6fc9e19e24 feat(vast): 新增自研 Viper/Python 语法解析器取代标准库 ast TermiNexus 2026-08-17 09:36:38 +08:00
  • a7bbd68507 fix(parser/lexer): 支持括号内行首 or/and、类基类跨行、CRLF 反斜杠续行(追加69/70/71) TermiNexus 2026-08-16 11:19:16 +08:00
  • 5e6a80c9f6 refactor(zlib): 裸 stdlib/string 函数调用改为 namespace 限定形式 TermiNexus 2026-08-16 07:31:01 +08:00
  • 995faf8a9c test(NumpyTest): c.Timer() 改为 timer_sec()(GetTickCount64), 修复链接 undefined symbol: Timer TermiNexus 2026-08-16 06:48:53 +08:00
  • a641cbff63 test(NumpyTest): numpy.ndarray 裸泛型注解改为显式类型参数 numpy.ndarray[t.CDouble] TermiNexus 2026-08-16 05:53:56 +08:00
  • 9b190ac73e fix(TPC): --asan 假生效修复 —— opt -passes=asan 需先 forceattrs 加 sanitize_address 属性(LLVM>=20 只插桩带属性函数) TermiNexus 2026-08-15 13:25:12 +08:00
  • e400a1c0a7 fix(JsonTest): write string hello 断言改用 strcmp(追加14 遗留,i8* == 是指针地址比较) TermiNexus 2026-08-15 13:12:12 +08:00
  • 396e0a54be fix(SysLibTest): CDefine 大整数全链路 64 位化 + Win32 结构体 ULONG→DWORD TermiNexus 2026-08-15 13:11:25 +08:00
  • 5844e6e725 fix(TPC): range for 循环 body 以 break 终结时不再发射死代码 load(游离指令致 opt expected instruction opcode) TermiNexus 2026-08-15 07:36:40 +08:00
  • 8112e0d66f fix(_withcontent): 移除 wdbg 运行时诊断(已定位根因) TermiNexus 2026-08-15 06:59:20 +08:00
  • 5f6dd8615a debug(_withcontent): find 诊断增强(names[i] 地址/内容 + strcmp 对比) TermiNexus 2026-08-15 06:55:26 +08:00
  • dc9a2848c1 debug(_withcontent): 临时 [wdbg] 诊断 provider 栈运行时状态 TermiNexus 2026-08-15 06:51:50 +08:00
  • 5d660a5448 docs(_withcontent): _init_tls 守卫注释更新为双保险 TermiNexus 2026-08-15 06:42:30 +08:00
  • 6759406a7e fix(_withcontent): _init_tls 加 _tls_index==0 守卫(TPV 未实现 @t.TLS 一次性语义) TermiNexus 2026-08-15 06:36:53 +08:00
  • ba16d54f32 fix(_withcontent): _find_provider 字段匹配改 strcmp 内容比较 TermiNexus 2026-08-15 06:28:43 +08:00
  • 3fe985648e chore: 更新 TODO/toast 脚本/测试源 TermiNexus 2026-08-15 06:24:22 +08:00
  • 2b074dfb48 fix(llvmlite): Struct name 参数默认 None;移除 GEP 降级 printf TermiNexus 2026-08-15 06:24:17 +08:00
  • 46b7cbc4ba fix(memhub): 非 2 的幂 arena 二进制分解 + reset 重建 + OOM 诊断增强 TermiNexus 2026-08-15 06:24:13 +08:00
  • 31d7602368 fix(memhub): checkpoint 记录栈初始容量 64K→2M + realloc 失败诊断 TermiNexus 2026-08-14 18:13:29 +08:00
  • 50795b63f1 chore: 更新 TODO/toast 脚本/IsinstanceTest 测试源 TermiNexus 2026-08-14 04:02:27 +08:00
  • fd3254cdd4 fix(TPC): 模块名与类名同名时 X.func() 按模块函数解析 TermiNexus 2026-08-14 04:02:22 +08:00
  • 2c7f563dda test(generic): GenericOopTest 补字段注解并改用 int 实例化 TermiNexus 2026-08-13 17:32:00 +08:00
  • 409296a84c chore: 更新 toast 脚本内容(Vector 隐式泛型推断修复通知) TermiNexus 2026-08-13 08:30:52 +08:00
  • 97fdc72405 chore: 更新 toast 脚本内容(vpi CArray count 修复通知) TermiNexus 2026-08-13 08:11:49 +08:00
  • 74d32a166c chore: 清理测试源码 DBG 插桩,.gitignore 忽略 wiki 目录 TermiNexus 2026-08-13 07:51:56 +08:00
  • 921820b26a chore: 纳入 toast 脚本、Sequential 回归测试与诊断产物文件 TermiNexus 2026-08-13 07:51:33 +08:00
  • 2f0b741d55 fix(gen): TPC 治本——struct opaque 具化、多返回值 fail-fast、with MRO 修复 TermiNexus 2026-08-13 07:51:27 +08:00
  • a99f126cfa feat(parser): 支持 Viper 软关键字 fn/fun/func/function 展开为 def TermiNexus 2026-08-13 07:51:21 +08:00
  • 6a672037c2 fix(attr): 修复联合类型转换 (X | t.CPtr)(arg) 后属性访问被丢弃 TermiNexus 2026-08-13 07:44:43 +08:00
  • 4c39db17c6 fix(project): 适配 lld 链接器(clang 22 环境) TermiNexus 2026-08-12 21:45:41 +08:00
  • 0e93f40289 fix(includes): 导出 llvmlite 缺失符号 + 移除临时 DBG TermiNexus 2026-08-12 21:13:36 +08:00
  • 8ccf5d2c18 fix(TPC/includes): 泛型特化 linkonce_odr + None 全局 common + includes 前缀 TermiNexus 2026-08-12 18:18:22 +08:00
  • b4567ffb9a fix(llvmlite): opaque与空结构体区分(fcount哨兵);ast表达式节点调整 TermiNexus 2026-08-12 01:27:24 +08:00
  • 99bf970452 test(ForAndLoopTest): 去除 fakeduck 依赖,list 改用 list[T](bd)+append 构造 TermiNexus 2026-08-11 22:10:15 +08:00
  • f047f90a72 docs(test): 新增 TestsOverview.md 测试总览(按实现难度排序) TermiNexus 2026-08-11 21:21:52 +08:00
  • 4f59396d5c test(CPythonTest): PyLong_FromLong/AsLong 按 Windows LLP64 long=32 位改用 t.CInt TermiNexus 2026-08-11 18:42:34 +08:00
  • f3b16c397c test: AstTest Stmt/Expr 运行时区分测试 + BuddyTest CANARY 断言修正 TermiNexus 2026-08-11 01:34:10 +08:00
  • d687216772 fix(TPC): 继承链 vtable 状态追溯 + 默认参数检查信息缺失保护 TermiNexus 2026-08-10 23:01:43 +08:00
  • a941179826 test: 新增 SuperTest 专项测试 + 删除 TpvIsinstanceTest TermiNexus 2026-08-10 21:48:41 +08:00
  • 2120a0a4ab feat(ast): 结构化 Stmt/Expr 中间基类(isinstance 分类支持) TermiNexus 2026-08-10 21:48:41 +08:00
  • 9c2dc45c03 fix(Translator): 类体 CDefine 预扫描扩展 + CDefine 类型修复(i32) TermiNexus 2026-08-10 21:15:42 +08:00
  • 1b89225130 feat(TPC): 拓展 isinstance 跨模块支持 TermiNexus 2026-08-10 19:16:27 +08:00
  • 8783340385 feat(TPC): 实现 isinstance 内建 + 多继承 this_adjust 字节偏移修复 TermiNexus 2026-08-10 19:11:18 +08:00