Commit Graph

  • 941ba2feb0 fix(call): 模块属性调用不回退局部变量,修同名局部变量劫持 VLogger.fmt_buf TermiNexus 2026-08-19 02:30:18 +08:00
  • ebf0aed5b1 fix(cbuiltin): translate_c_addr 补末尾 return None(真实掉出) TermiNexus 2026-08-19 02:30:11 +08:00
  • c40c00f933 fix(match): renum match merge 标志声明作用域修正(a45b806 补充) TermiNexus 2026-08-19 01:58:32 +08:00
  • a45b806afa fix(match): merge 可达性用局部标志记录,消除 case 体内嵌套 if 污染 TermiNexus 2026-08-19 01:04:42 +08:00
  • 132c48d41a fix(gentype): register_ctypedef_from_source 先清表再注册,修 stdint.vp strcmp 悬空遍历崩溃 TermiNexus 2026-08-19 00:45:08 +08:00
  • 55d4c4102a fix(call): super() void 命中用 hit_box 区分未命中 + CTypedef 预注册修复 mode_t NameError TermiNexus 2026-08-19 00:28:48 +08:00
  • 65838da0dc fix(Generator): 补全 ClassGenBase 拆分遗漏的 17 个字段初始化 TermiNexus 2026-08-18 12:40:21 +08:00
  • d18f9a7e7f fix(phase1): CTypedef 改源码文本扫描注册,彻底修 stdint.vp 访问违规崩溃 TermiNexus 2026-08-18 10:22:26 +08:00
  • 23945cd168 fix(gentype): ctypedef 检查 strcmp 改 strncmp 限长比较,修 stdint.vp 读穿崩溃 TermiNexus 2026-08-18 10:02:26 +08:00
  • 8db2d1c23b fix(assign): _is_scalar_ty_name 改白名单,修 list[str].get 返回类型不匹配 TermiNexus 2026-08-18 09:51:54 +08:00
  • 0f25dc1511 chore(gentype): resolve_annotation_type 加 T 替换断点(方法体局部注解路径) TermiNexus 2026-08-18 09:48:11 +08:00
  • 5ec6a3baef chore(gentype): resolve_generic_type_name 加 T 替换断点,定位 list[str].get 类型不匹配 TermiNexus 2026-08-18 09:43:10 +08:00
  • 8db5dc63a5 chore(gentype): ctypedef attr 手动逐字节检查(防 strcmp 读穿崩),定位内容损坏与读越界 TermiNexus 2026-08-18 09:32:12 +08:00
  • 7178d169e3 chore(gentype): ctypedef 检查加 attr 读取断点,对比构造与读取地址 TermiNexus 2026-08-18 09:25:36 +08:00
  • 7a7c3939db fix(gentype): CTypedef/注解类型名处理改用 ast 字段访问器,修 stdint.vp 访问违规崩溃 TermiNexus 2026-08-18 08:59:10 +08:00
  • 2847d358c8 chore(gentype): ScanCTypedefDeclarations 加 AnnAssign 字段地址断点 TermiNexus 2026-08-18 08:50:50 +08:00
  • 407f047411 chore(phase1): translate 流程加 printf 断点,定位 stdint.vp 访问违规崩溃点 TermiNexus 2026-08-18 08:43:37 +08:00
  • 0cb0a12810 fix(phase1): 加 translate 后存活块检查 + printf Params 链创建即校验 + dump 函数清单诊断 TermiNexus 2026-08-18 08:17:54 +08:00
  • 43470b6e4a fix(vpi): 参数数上限哨兵 + declare 链遍历哨兵,定位 builtins.vp dump 卡死根因 TermiNexus 2026-08-18 08:10:18 +08:00
  • 453f428aab fix(gen): TypeGenErr 补 import w32.fileio,修复 File 类型错位 TermiNexus 2026-08-17 19:44:24 +08:00
  • e1b05fe1c6 fix(gen): If 分支嵌套控制流全 return 补 unreachable,修复 atan2 误判流程掉出末尾 TermiNexus 2026-08-17 18:43:39 +08:00
  • 33c8609882 fix(gen): list 内置分支置位 hit_box 并确认对象类型,修复 nums.set 找不到模块 SHA1 TermiNexus 2026-08-17 18:31:10 +08:00
  • 51ae18a160 fix(gen): 编译器生成方法 __before_init__ 跨模块调用放行,修复找不到模块 SHA1 TermiNexus 2026-08-17 18:19:15 +08:00
  • 2f3320ffde fix(gen): c.Asm/c.LLVMIR void 调用 hit_box 命中标记,修复 StringTest 编译报 Asm 外部函数未登记 TermiNexus 2026-08-17 12:43:49 +08:00
  • 9f44abe645 重新完整提交碎片 TermiNexus 2026-08-17 11:23:55 +08:00
  • 0a98890d5b fix(handles): HandlesExprCall 补回 set_global_gen 与 12 个顶层常量 TermiNexus 2026-08-17 08:32:54 +08:00
  • 285f4c25e2 fix(handles): ExprCallHandle 类方法裸调用补模块前缀(translate_call/printf/print) TermiNexus 2026-08-17 08:27:07 +08:00
  • 3ff5769290 refactor(gen): CallGenCall 精简重复注释块(1502→1495 行,恢复 ≤1500) TermiNexus 2026-08-17 08:16:56 +08:00
  • f5c4be3995 refactor(core): Phase1 拆 3 组(Scan/Topo/Main,1801→46 行) TermiNexus 2026-08-17 08:14:45 +08:00
  • c62ce0797d refactor(handles): HandlesFor 拆 ForHandleBase/ForHandleIter(1600→448 行) TermiNexus 2026-08-17 08:14:04 +08:00
  • 2cb974ae5a refactor(handles): HandlesExprCall 拆 6 组(Base/Deref/Ctor/Call/Table/Handle,2041→241 行) TermiNexus 2026-08-17 08:10:55 +08:00
  • 278893d203 refactor(core): StubMerger 拆 5 组(Collect/Store/Topo/IR/Build,2391→72 行) TermiNexus 2026-08-17 08:03:40 +08:00
  • d0cf283228 fix(gen): ClassGen 拆分遗漏的 12 个顶层 CDefine 常量补回 TermiNexus 2026-08-17 07:49:27 +08:00
  • ebfc74063f fix(handles): HandlesExpr._lookup_cross_module_cdefine 委托补 depth/node 参数 TermiNexus 2026-08-17 07:42:49 +08:00
  • 50db55fd08 fix(handles): HandlesClassDef 6 个 _is_* 委托补 trans 参数 TermiNexus 2026-08-17 07:38:09 +08:00
  • 54fa8b46c8 refactor(gen): ExprGenMixin 拆 8 组(Base/Const/Fstr/Ops/Cdef/Name/Attr/Cls,6203→129 行) TermiNexus 2026-08-17 07:32:56 +08:00
  • 47ac2dd57c refactor(gen): ClassGenMixin 拆 5 组(Base/Enum/Generic/VTable/Def,4768→空壳) TermiNexus 2026-08-17 07:23:40 +08:00
  • 81d4ff3ac4 refactor(gen): TypeGenMixin 拆 5 组(Base/CDef/CType/Resolve/Err,2643→44 行) TermiNexus 2026-08-17 07:21:00 +08:00
  • 65cf71ff7e refactor(gen): FuncGenMixin 拆 Base/Def(2683→1178 行),补 5 个跨 Mixin 委托 TermiNexus 2026-08-17 07:17:03 +08:00
  • 607159ae4a fix(gen): 修复 CallGenDispatch/CallGenLib 首方法缩进(8 空格→4 空格) TermiNexus 2026-08-17 07:04:11 +08:00
  • 9f19bb3666 refactor(gen): CallGenMixin 阶段 C 拆 translate_call 检测段(Dispatch 6 helper)+ 辅助方法(Lib),顶层降至 1119 行 TermiNexus 2026-08-17 06:59:14 +08:00
  • 38e32fdeb1 fix(gen): 修复 HandlesExprCall 委托签名缺参数(_infer_generic_ctor_type_arg/_LookupMethodRetTyFromTextLL) TermiNexus 2026-08-17 06:38:00 +08:00
  • 1718738a19 refactor(gen): CallGenMixin 阶段 B 拆出 6 组(Ctor/Call/Prop/Fd/Vt/Va),顶层剩 translate_call 中枢 TermiNexus 2026-08-17 06:34:33 +08:00
  • 8d9ff96f61 refactor(gen): 修复 CallGen 拆分后 undefined symbol(顶层改 1 级继承 + 跨 Mixin 走 HandlesExprCall 委托) TermiNexus 2026-08-17 06:17:15 +08:00
  • ef979d4435 feat(cli): 修复 --nowarn-register 未生效(argparse dest 破折号 key) TermiNexus 2026-08-17 05:46:54 +08:00
  • 996f08fb46 fix(core): 末句控制流 merge 可达性存 trans 字段(追加90) TermiNexus 2026-08-17 05:46:47 +08:00
  • f4a990c074 refactor(gen): StmtGenMixin 按功能域拆为 3 文件(500~1500 行架构试点) TermiNexus 2026-08-17 05:46:40 +08:00
  • 593332636f 全部整理上传 TermiNexus 2026-08-17 04:27:29 +08:00
  • f2b33f5e9b fix(core): _translate_method_call 沿 MRO 祖先链查返回类型,修复 Module.append TermiNexus 2026-08-15 00:41:21 +08:00
  • 0a0e6d3bab perf(diag): OOM 二分定位诊断 + 主池提升 1.5GB TermiNexus 2026-08-15 00:15:59 +08:00
  • f9878e5a63 fix(core): 跨模块 CDefine 查找缓存 perm_pool + list 内置方法识别 TermiNexus 2026-08-15 00:15:43 +08:00
  • f7c2fe4534 fix: 恢复 _TopoSortFiles 被污染的循环,修复 vtable 'AST.accept' 找不到 TermiNexus 2026-08-14 17:42:42 +08:00
  • 2ef6a55ead fix: Phase1 三个无 reset 的全量 parse 循环改每文件回收,解 mark1 前 OOM TermiNexus 2026-08-14 04:13:59 +08:00
  • 8d5dbeab89 feat: 引入 CompilerFactory 永久内存池,1a 每文件 reset 解 NewAstTest OOM TermiNexus 2026-08-14 04:02:36 +08:00
  • c27a1ba347 fix(gen): lambda 捕获 str 指针偏移 + 表达式接收者等五组回归修复 TermiNexus 2026-08-13 19:10:50 +08:00
  • a0edc3d961 fix(gen): 泛型 type_params 生命周期与无注解赋值 annot 推断 TermiNexus 2026-08-13 17:31:54 +08:00
  • 19f48eea02 fix(gen): struct 返回类型解析 + 变参提升 + 泛型隐式推断三组修复 TermiNexus 2026-08-13 08:30:44 +08:00
  • 9bb6dd7612 fix(reachable): App 源文件容器依赖注入,修复 dict/list 未编译致方法返回类型误杀 TermiNexus 2026-08-13 08:11:41 +08:00
  • 97f765fcb3 fix(stubgen): vpi 生成 CArray count 数字常量输出数值而非 t.CInt TermiNexus 2026-08-13 08:11:41 +08:00
  • 1f4b231134 refactor(stmt): 还原 translate_with 直接属性访问(TPC 联合转换修复后) TermiNexus 2026-08-13 07:51:13 +08:00
  • 9f7333b0f2 fix(stmt): translate_with 属性访问改用中间变量,规避 TPC 编译损坏致 asname 未绑定 TermiNexus 2026-08-13 07:37:20 +08:00
  • f1530aac91 fix(stmt): with 的 asname 注解类名带模块前缀,修复跨模块方法调用解析 TermiNexus 2026-08-13 07:12:27 +08:00
  • a6d1a6f9ae feat(stmt): 支持 with 语句翻译(__enter__/__exit__ + MRO 解析) TermiNexus 2026-08-13 07:07:00 +08:00
  • 39ddf11ddc fix(stmt): 移除 raise 翻译中无效的 LLVMType.Double 模式,修复 llc 报错 TermiNexus 2026-08-13 06:59:25 +08:00
  • 07e1efeb82 fix(gen): 移除 vtable 临时诊断代码并扩容 MAX_FUNCS 256→1024 TermiNexus 2026-08-13 06:54:40 +08:00
  • 9d0ecf1c5d fix(call): translate_call 无条件查询全局默认参数表,修复未初始化 gd_entry 崩溃 TermiNexus 2026-08-13 06:54:32 +08:00
  • f19c63594a fix(vpi): 注入模块级全局变量 external declare,修复跨模块 stub 误杀 TermiNexus 2026-08-13 04:55:40 +08:00
  • eb002ece31 fix(phase1): 拓扑排序环处理按被依赖者优先 TermiNexus 2026-08-13 04:51:55 +08:00
  • 1145ef74c8 fix(phase1): import 依赖边改用局部映射副本,修复 ASan 崩溃 TermiNexus 2026-08-13 04:48:38 +08:00
  • 0d6891f7bc fix(phase1): 拓扑排序补 import 依赖边,跨模块依赖模块先翻译 TermiNexus 2026-08-13 04:36:09 +08:00
  • f09b6962f9 fix(phase1): 容器扫描覆盖表达式字段,修复 _list/_dict 按需注入失效 TermiNexus 2026-08-13 04:33:18 +08:00
  • dfb86380a6 fix(phase1): 容器模板按需纳入可达集合(includes 层) TermiNexus 2026-08-13 04:16:26 +08:00
  • 5efca5b8e4 fix(phase1): Phase 1b 按拓扑序翻译 includes,修复跨模块 vtable 误杀 TermiNexus 2026-08-13 04:10:47 +08:00
  • 7cc501cdef fix(phaseb+): includes 按依赖拓扑序编译,修复跨模块 vtable 误杀 TermiNexus 2026-08-13 03:50:59 +08:00
  • ad2b97a140 perf(reachable): 移除 _list/_dict/json 无条件预加入,按需编译 TermiNexus 2026-08-13 03:27:31 +08:00
  • b4c01808bf fix(phasec): 可达模块 .obj 缺失误杀恢复,纯声明模块跳过 TermiNexus 2026-08-13 03:11:13 +08:00
  • c9de06e76d fix(stubmerger): 依赖 stub/text 为空误杀恢复静默跳过 TermiNexus 2026-08-13 03:05:41 +08:00
  • a56fc6badc fix(type): CDefine 编译期常量表达式补齐二元运算符 TermiNexus 2026-08-13 03:01:02 +08:00
  • 64195f183e feat(type): 支持字符串 CDefine(如 ZLIB_VERSION = "1.3.2") TermiNexus 2026-08-13 02:58:15 +08:00
  • 9eee43c304 feat(stmt): 支持 raise 语句(对齐 TPC StopIteration 语义) TermiNexus 2026-08-13 02:50:07 +08:00
  • 8b8b716523 fix(call): 恢复缺参零值兜底,消除默认参数表查不到时的误杀 TermiNexus 2026-08-13 02:46:52 +08:00
  • 0c94f52f21 fix(call): 缺参 fail-fast 误杀参数匹配的构造调用 + 行号修复 TermiNexus 2026-08-13 02:41:52 +08:00
  • e796e7fc2b fix(expr): list 元素类型未知恢复 i8* 回退 TermiNexus 2026-08-13 02:33:53 +08:00
  • 1b80283634 fix(type): 联合类型前向自我引用误杀恢复回退 TermiNexus 2026-08-13 02:32:22 +08:00
  • 03df4f1a20 fix(imports): 相对导入 fail-fast 误杀 includes 顶级文件 TermiNexus 2026-08-13 02:13:38 +08:00
  • 9d3483e97e refactor: 全面 fail-fast 化(去兜底)+ 泛型补译/解引用宽度修复 TermiNexus 2026-08-13 02:11:49 +08:00
  • 8f484f6860 fix(gen): extract_module_docstrings 用 children 而非不存在的 body 字段 TermiNexus 2026-08-12 21:45:32 +08:00
  • 98ddf7977e refactor(handles): BuildPipeline/HandlesAnnAssign 深层短路合并 TermiNexus 2026-08-12 21:15:16 +08:00
  • ea5b17f5fd refactor: 深度 if 守卫化重构(guard continue + 短路合并) TermiNexus 2026-08-12 21:13:25 +08:00
  • 1c7e8c2056 fix(build): ASan includes 缓存独立目录隔离 TermiNexus 2026-08-12 19:12:52 +08:00
  • b232c9266c fix(gen): 裸名 CArray 类字段解析 + 跨模块函数返回类型 vpi 解析 TermiNexus 2026-08-12 19:12:45 +08:00
  • 304bece6fa feat(TPV): CArray 形参衰减/tuple 多返回/dict 迭代/ASan 模式等 TermiNexus 2026-08-12 18:17:52 +08:00
  • 4fd331dc08 fix(gen): 类字段单参CArray静态数组推断+列表默认值深拷贝;G3泛型循环防护与before_init去重;f-string/ctraits支持 TermiNexus 2026-08-12 01:27:13 +08:00
  • a649e4807d fix: 泛型返回类型短路/数组迭代/非工作区崩溃 TermiNexus 2026-08-11 23:14:27 +08:00
  • e7b0fecb99 fix(asm): 内联汇编输出约束修复(去重+多输出 struct) TermiNexus 2026-08-11 22:20:25 +08:00
  • 244c8efc96 feat(for): list 容器迭代与 enumerate/zip 多变量迭代 TermiNexus 2026-08-11 22:10:01 +08:00
  • 882c78c67a feat(gen): ListTest 联合下标修复 + DocTest docstring 完整保留 TermiNexus 2026-08-11 21:21:40 +08:00
  • 83d46dd646 fix(gen): 装饰器标记支持 + len 分发 + 跨模块调用修复 TermiNexus 2026-08-11 18:42:04 +08:00
  • 48d9fbab4c fix(gen): nonlocal 跨层共享与链堆预建修复(ClosureTest2 12/12 通过) TermiNexus 2026-08-11 17:30:01 +08:00
  • c472ea9798 feat(gen): 支持 lambda 与 nonlocal 运行时 env 链式共享 TermiNexus 2026-08-11 16:10:05 +08:00