Commit Graph

  • 5c6ba308ae fix(ClassGenMixin): register_method_meta 按位或合并装饰器元数据 TermiNexus 2026-08-11 01:34:04 +08:00
  • 65d7342d0b fix(Gen): 联合类型数组下标按 8 字节步长(写路径 + CUInt64T|CPtr) TermiNexus 2026-08-11 01:33:58 +08:00
  • 120a2d7ad7 fix(Phase2): Phase A 多遍重试修复同项目依赖翻译顺序 TermiNexus 2026-08-11 01:33:52 +08:00
  • b5657b3790 fix(TPV): 属性链按需过滤 + 字段查找回退顺序 + t.CArray 跨模块 CDefine TermiNexus 2026-08-10 23:01:50 +08:00
  • cca468e910 feat(gen): 实现 super() 语义(super().__init__ / super().method 静态绑定父类) TermiNexus 2026-08-10 21:48:42 +08:00
  • 45ba3a4b5a fix(gen): TPV isinstance 运行链路修复(构造 vtable 槽/this_adjust/虚分派/NoVTable) TermiNexus 2026-08-10 21:15:43 +08:00
  • 6677da99f7 refactor(gen): P6 方法化 - StmtGen/AssignGen/VarGen/ImportsGen/TranslatorGen Mixin TermiNexus 2026-08-10 18:42:07 +08:00
  • 451be82b32 fix(gen): 清理 ASan 二分调试检查 + StdlibAlloc 跨 Mixin 委托 + 调试链修复 TermiNexus 2026-08-10 18:09:23 +08:00
  • ba3f22702e refactor(gen): P5 对象化迁移完成 - FuncGenMixin/ClassGenMixin 全量迁移+委托层; 泛型模板表迁入 gen 字段; stub 方法 ParamCount 不含 self(修复跨模块方法调用默认参数填充错位); 默认参数快照失败 fail-fast(防悬空 AST UAF); HandlesMatch 改委托 gen._lookup_renum_variant TermiNexus 2026-08-10 06:24:50 +08:00
  • 0e4f00baf4 refactor(gen): P4 CallGenMixin - HandlesExprCall 86 函数迁移 + 委托层 TermiNexus 2026-08-10 03:31:10 +08:00
  • 24c1aada30 refactor(gen): P3 ExprGenMixin - HandlesExpr/ExprOps 51 函数迁移 + 委托层 TermiNexus 2026-08-10 02:11:26 +08:00
  • 34a37358c9 refactor(gen): P2-2 StructGenMixin - HandlesStruct 53 函数迁移 + 委托层 TermiNexus 2026-08-10 01:55:15 +08:00
  • e1ef67d013 refactor(gen): P2 TypeGenMixin 迁移 + 全局单例委托机制 TermiNexus 2026-08-10 01:46:28 +08:00
  • b3170ba823 feat(handles): Viper 多继承支持 M1-M4 - 父类数组+MRO/字段展平/vtable合并/this调整 TermiNexus 2026-08-10 00:28:58 +08:00
  • 37626bca63 feat(gen): P1 Generator 骨架 - BaseGenMixin/Generator 拆分与 BuildPipeline 接入 TermiNexus 2026-08-10 00:28:51 +08:00
  • 695699f01e fix(build): 统一 SHA1 口径消除符号前缀不一致(undefined reference) TermiNexus 2026-08-09 22:54:32 +08:00
  • f63dcd7fed fix(handles): 对象化前的最后稳定版本 TermiNexus 2026-08-09 22:19:21 +08:00
  • da23160ca6 fix(handles): 变参调用按 Win64 8 字节槽位提升(整数 sext 到 i64, f32 提升 f64) TermiNexus 2026-08-09 04:06:17 +08:00
  • e5a99abb63 fix(handles): 本轮修复集 - StructTest/TypeCastTest/StringIterTest/va_list TermiNexus 2026-08-09 03:39:26 +08:00
  • e79b676e51 feat(handles): 实现 c.CIf/c.CIfdef/c.CIfndef 编译期宏(对齐 TPC HandlesIf) TermiNexus 2026-08-09 03:39:18 +08:00
  • 57d6ffefad fix(TPV): c.Set 实现赋值语义 a=b(三形态: c.Deref左值/Name/Attribute), 修复 undefined reference to Set; 函数默认返回/裸return按返回类型生成浮点零值(ConstFloat 0.0, 修复 llc value doesn't match) TermiNexus 2026-08-08 21:35:59 +08:00
  • 59ae99f6d7 fix(TPV): 浮点CDefine存储与浮点调试打印改用CRT stdio(绕开viperlib %g格式化bug); REG-SRC 拆位模式打印定位 float_val 覆写假象 TermiNexus 2026-08-08 20:38:24 +08:00
  • 92ba3af752 fix(TPV): 浮点 CDefine 注册多方案绕开 pool 覆写与跨模块 double 传递问题 - 查表/str_val/源文件重读+atof_out 输出参数; PRE-TR/PRE-ML/REG-SRC 定位插桩; 记录浮点节点构造值表 TermiNexus 2026-08-08 19:42:54 +08:00
  • 24d3de4b72 fix(TPV): 统一浮点 CDefine 注册路径 + 1a 预扫描签名防 UAF - handle_module_level_var/PreScan 统一走 _register_cdefine_from_value(浮点/整数自动识别); 新增 register_cdefine_double/lookup_cdefine_double(%.17g 存值); translate_name_value 浮点 CDefine 返回 ConstFloat(修复 llc ret i32 0); 1a 预扫描函数签名提前泛型特化到 mark1 前(防 UAF); 移除 ASSIGN-DBG; 临时定位插桩 CDEF-DBG TermiNexus 2026-08-08 18:18:44 +08:00
  • aa6eee54e9 fix(compiler): 支持模块限定泛型类类型注解 numpy.ndarray[t.CDouble] TermiNexus 2026-08-08 16:41:47 +08:00
  • 16d0302b08 fix(compiler): stub 注入泛型类跳过方法 declare,修复 ndarray[T] 错误特化 TermiNexus 2026-08-08 16:33:04 +08:00
  • 94b84c7dc1 refactor(compiler): c.LLVMIR 改无返回值直接嵌入 IR 文本(不做指令解析) TermiNexus 2026-08-08 16:10:29 +08:00
  • 3a6296d638 fix(compiler): 支持裸名 float/double 映射 + 前向声明时序 + 类型解析 fast-fail traceback TermiNexus 2026-08-08 15:59:08 +08:00
  • ee8f532dc5 fix(compiler): 泛型注解收集类型实参时替换泛型参数 T + 属性访问 fail-fast traceback TermiNexus 2026-08-08 15:23:48 +08:00
  • ba6beb439c feat(compiler): __sizeof__ 支持实例接收者与泛型类引用(self/obj 实际类型 + Stack[T] 特化) TermiNexus 2026-08-08 12:26:44 +08:00
  • 51d0ef2c18 fix(compiler): __sizeof__ fast-fail 改为 Python traceback 风格 TermiNexus 2026-08-08 12:00:39 +08:00
  • e0303c46f6 fix(compiler): 裸类形参按引用传参 + 同名类优先本模块 + 裸名泛型构造/类型参数转换 TermiNexus 2026-08-08 11:54:32 +08:00
  • 60493d6ae5 fix(compiler): 支持多 includes 目录,修复 G4 g4node 未注册 SHA1 TermiNexus 2026-08-08 10:31:44 +08:00
  • ea8bb0b3a4 fix(compiler): 方法返回类型三级来源重构(移除 _infer_method_ret_ty 按名推断) TermiNexus 2026-08-08 09:43:15 +08:00
  • a9ebb20790 "fix(compiler): vpi 返回注解缓存按需加载 + 动态扩容 TermiNexus 2026-08-08 02:24:12 +08:00
  • 09833a80eb feat: 支持 t.Callable 函数指针类型注解、赋值与间接调用(含返回类型签名缓存) TermiNexus 2026-08-08 01:12:40 +08:00
  • 3197152d4e fix: vpi stub 注解解析改用被读模块自己的 imports 上下文,根治跨模块误报 TermiNexus 2026-08-08 00:51:19 +08:00
  • 95a52bb9f6 fix: vpi 注入错误上下文帧携带触发 import 的真实行号与行内容 TermiNexus 2026-08-08 00:38:06 +08:00
  • 6dbcbe247e fix: vpi stub 注入期间修正错误归因,多级堆栈显示编译上下文与被读 stub 真实位置 TermiNexus 2026-08-08 00:33:29 +08:00
  • 94ae2aee52 refactor: 提取 _lookup_sha1_from_modname_raw,消除 HandlesExpr 重复的模块 SHA1 查找段 TermiNexus 2026-08-08 00:02:39 +08:00
  • 0665ee1164 refactor: StubMerger 复用公共工具(LookupSha1ByModName 委托、_sliced_path 复用 slice_subdir、_PathToModuleName 下沉) TermiNexus 2026-08-08 00:02:39 +08:00
  • 96e045889e refactor: 提取 is_vp_or_py_at/JoinPath/read_file_to_buf 公共工具,消除 IncludesScanner/Phase2 重复代码 TermiNexus 2026-08-08 00:02:39 +08:00
  • e2bdfc1c4e chore: 移除 DDEBUG/MATCHDBG 调试日志残留 TermiNexus 2026-08-07 23:29:39 +08:00
  • 989e898a93 refactor: 提取公共 bytes_to_hex/nibble_to_hex_char,消除三处重复的 SHA1 hex 转换 TermiNexus 2026-08-07 23:29:39 +08:00
  • a6510bbf31 chore(core): 注释掉 main.vp 的 hashlib._mbuddy 注入 TermiNexus 2026-08-07 22:36:28 +08:00
  • 7d6917762c fix(core): 数组下标 <32 位索引 zext 到 i32,修复字节索引越界 TermiNexus 2026-08-07 22:36:28 +08:00
  • d6690c6e39 feat(core): for 支持定长数组与列表字面量迭代,其余字面量 fast-fail TermiNexus 2026-08-07 22:36:28 +08:00
  • 762d535a86 fix(core): 局部数组+列表字面量改走逐元素初始化,消除 list[T] 误特化崩溃 TermiNexus 2026-08-07 22:36:22 +08:00
  • 9322ac469f fix(core): 泛型特化翻译并入模板模块 imports,消除跨模块误报 TermiNexus 2026-08-07 22:36:22 +08:00
  • adff2f35c4 fix(core): print 类型感知格式化,跨模块未导入 fast-fail,报错行号防御 TermiNexus 2026-08-07 22:36:16 +08:00
  • 557a40c662 chore(core): 移除 Phase1.vp 遗留的 DBG-MC 调试输出 TermiNexus 2026-08-07 19:58:05 +08:00
  • 89cc30c757 基本稳定 TermiNexus 2026-08-07 19:32:46 +08:00
  • 987088fdff 'fix(core): support keyword args in method calls TermiNexus 2026-08-07 17:30:41 +08:00
  • f7cc0f84d1 解决了_parse_type_string 节点损坏,改用字符串直接解析 TermiNexus 2026-08-07 01:44:34 +08:00
  • c876df7907 依据 T97 决定性结果,修复了 CVoid 严格验证,other_ty 有效性验证,fallback 不依赖 kind() 实现 TermiNexus 2026-08-06 23:00:01 +08:00
  • f440bda421 清理 __new__/__init__/add_argument 中的 [DBG-argparse] 运行时打印, 还原标准库为静默实现。 TermiNexus 2026-08-06 21:21:41 +08:00
  • 6d3fc4569c 通过了 Memhub BuddyTest 测试 TermiNexus 2026-08-06 19:50:46 +08:00
  • f8436c74d2 提交新的建议忽略 TermiNexus 2026-08-06 18:08:09 +08:00
  • 8ad500c4da 基本稳定可以编译 Test TermiNexus 2026-08-05 20:12:08 +08:00
  • a3b9bdc409 修正了逻辑,使 TPV 可以编译 Test,但自举还有一段距离 TermiNexus 2026-08-03 02:01:20 +08:00
  • 9dcf34599d 升级了仿 Python 错误堆栈提示,修复了 bool 不存在的问题,将 bool 改为 i1 而非 i8,实现了 bool 的归一化 TermiNexus 2026-07-31 04:12:12 +08:00
  • bfb55d68f4 取消了 i8* == i8* 实际使用 strcmp 的规则,修复了诸多 Bug TermiNexus 2026-07-30 21:56:19 +08:00
  • d227bee139 将 .py 和 .pyi 后缀名改为了 .vp 和 .vpi 后缀名 TermiNexus 2026-07-30 16:34:50 +08:00
  • 32af3f93fa 自举实验失败,C1 编译 Test 成功,暂未达到自举收敛点 TermiNexus 2026-07-30 15:44:32 +08:00
  • 68481a5a7f Fixed some bugs and tried to maintain the bootstrap TermiNexus 2026-07-28 21:10:05 +08:00
  • 03d0bba534 修正了一些错误 TermiNexus 2026-07-26 20:33:17 +08:00
  • 909792bc8f 实现了切片存储 TermiNexus 2026-07-22 21:56:33 +08:00
  • 751dc72d61 实现了 TPV 的 pyi 生成逻辑(部分),删除了直接拷贝自 CPython(TPC) 版本的死代码 TermiNexus 2026-07-22 19:47:23 +08:00
  • a99d2a5ad9 修正了 TPV,使其能够编译 Test TermiNexus 2026-07-22 14:13:01 +08:00
  • 92a381f003 修复了 TPV 的一些错误,包括闭包等 TermiNexus 2026-07-22 14:05:38 +08:00
  • 6eb3d22eba 修正了一些错误 TermiNexus 2026-07-20 11:13:23 +08:00
  • a557718ba5 Add GPLv3 LICENSE Viper 2026-07-19 14:42:57 +08:00
  • 3cf67e262f Add bilingual README Viper 2026-07-19 13:33:50 +08:00
  • e7eaf3e9a1 Initial import of TransPyV Viper 2026-07-19 13:18:46 +08:00