Commit Graph

  • e8dc3e3787 支持 tls 关键字,全面准备清退 t, c main TermiNexus 2026-10-17 23:39:54 +08:00
  • 7a329f7d1e 去除 import t, c 以及 FL TermiNexus 2026-10-17 21:58:05 +08:00
  • 7556264d22 fix(torch): vector_add_inplace 正确调用 simd_add_array TermiNexus 2026-10-17 18:47:46 +08:00
  • 1b21d58be3 fix(mlirlite): 消除 IR 文本缓冲与解析器的静默截断 TermiNexus 2026-10-17 17:57:40 +08:00
  • 172af1e172 fix(asm): io_wait 改为连续 4 次读备选状态寄存器 0x3F6,提供真实 400ns I/O 延时 TermiNexus 2026-10-16 19:56:26 +08:00
  • 6a22633b6b chore(string): strrchr/strstr 补 noescape 逃逸标注;builtins/zlib 微调 TermiNexus 2026-10-16 16:40:55 +08:00
  • 49889b39c7 docs(mlirlite): README 更新 TermiNexus 2026-10-16 16:40:49 +08:00
  • c816f53af4 chore(mlirlite): too-many-elements 处打印 n/g/src 前缀 - 定位哪个全局数组被放大 TermiNexus 2026-10-16 12:53:31 +08:00
  • e9e1933a62 fix(mlirlite): 全局数组 dense 渲染缓冲提到循环外复用(消每元素~5KB泄漏) + 聚合值读取必前进(修 too many global array elements) TermiNexus 2026-10-16 12:04:24 +08:00
  • 1eb46faa41 fix(mlirlite): T2「store→load 转发」改为类型感知(跨类型 load 不再被按名替换) TermiNexus 2026-10-15 20:18:59 +08:00
  • 1aafde09fc fix(mlirlite): 修掉上一提交里 MlirTypeText 的误用(其第 3 参是类型文本,不是 LLVMType*) TermiNexus 2026-10-15 19:47:55 +08:00
  • 8dbad705e9 fix(mlirlite): 浮点常量位型改为逐 nibble 自写,位宽只由 MlirTypeText 决定 TermiNexus 2026-10-15 19:38:52 +08:00
  • 32b631ef6f feat(mlirlite): float 位模式位宽不匹配的报文带上类型/常量文本/实际位数 TermiNexus 2026-10-15 19:26:01 +08:00
  • 40fd9d8cf7 fix(base64): 因取消整数提升,b64decode 移位左操作数显式加宽为 uint32(修移位计数越界与静默截断) TermiNexus 2026-10-13 16:34:37 +08:00
  • e0bb791119 feat(ast): 新增 bigend / littlend 类型描述符软关键字(与 const/volatile 同机制,注解位置展开为 t.BigEndian / t.LittleEndian) TermiNexus 2026-10-13 15:21:31 +08:00
  • bf6403c803 fix(socket): accept/socket 非 Windows 分支补齐 u64→INT 显式窄化(out_client.fd / return / out_sock.fd) TermiNexus 2026-10-13 10:19:11 +08:00
  • 21154a3ab8 fix(socket): socket/accept 的 u64 handle 在 INT 目标处补显式窄化(与 213/328 对称,修隐式窄化报错) TermiNexus 2026-10-13 10:16:55 +08:00
  • 4aa8d399ff fix(zlib): zbit_writer 位写入 |= 右值显式窄化为 BYTE(修 augmented assignment 右值过宽报错) TermiNexus 2026-10-12 21:05:48 +08:00
  • 7f82bec5d1 chore: 全仓同步 TPV→VPC 注释改名与 range(int(...)) 显式收窄适配 TermiNexus 2026-10-12 20:59:35 +08:00
  • 44c1bc4168 fix(mlir): 窥孔取 store 值改按括号配平,修聚合类型被截在第一个逗号 TermiNexus 2026-10-12 18:24:55 +08:00
  • 94ae0d32b7 feat(ast): 整型字面量支持显式宽度后缀 _int<N>/_uint<N>/_i<N>/_u<N> TermiNexus 2026-10-12 18:24:54 +08:00
  • fb365a1707 chore: 改名同步 TransPyV -> ViperC(源码/配置内的纯替换) TermiNexus 2026-10-12 15:06:47 +08:00
  • ccd7434c5a chore: 改名同步 TransPyV -> ViperC(.gitignore/文档/脚本) TermiNexus 2026-10-12 15:02:19 +08:00
  • 38047cbed1 chore: 引用路径改名 TransPyV -> ViperC TermiNexus 2026-10-12 14:28:40 +08:00
  • bca23ffa06 fix(mlirlite): MLIR 间接调用点也过 alias 解析,callee 不再悬空 TermiNexus 2026-10-12 13:18:51 +08:00
  • 4914311014 fix(mlirlite): 常量表与自动常量名空间(%c<seq>)按需扩容 TermiNexus 2026-10-12 12:40:20 +08:00
  • cc7cfdb4af fix(mlirlite): alias 表按需扩容;工厂改 new memgr;define 位宽/截断配套 TermiNexus 2026-10-12 12:38:15 +08:00
  • 244179eac7 fix(mlirlite): MLIR 模块头补齐 llvm.target_triple/llvm.data_layout 属性 TermiNexus 2026-10-11 21:21:02 +08:00
  • 6bd5a6e7a4 refactor(mlirlite): 语法迁移(rawptr/novirtual/解引用写入) 并修正 DerefAs 迁移为整对象拷贝 TermiNexus 2026-10-11 12:47:06 +08:00
  • 00ddb296ac fix(narrow): 字节缓冲写 int/算术结果改用 char(...)(sys/_fakeduck) TermiNexus 2026-10-11 11:58:57 +08:00
  • 0f37f2fde9 revert(narrow): 撤销 define 位掩码的显式强转(编译器已按值推断位宽) TermiNexus 2026-10-11 11:46:38 +08:00
  • 7e6ed0db2e fix(narrow): 32 位字段/变量 |= 64 位 CDefine 改用显式窄化转换 TermiNexus 2026-10-11 11:42:25 +08:00
  • e308e6e734 fix(narrow): viperlib vsnprintf 指数符号写字节改用 char(...) 包裹三元 TermiNexus 2026-10-11 11:38:14 +08:00
  • 9d5028bc61 fix(narrow): byte 缓冲写 32 位掩码结果改用 uint8(...) TermiNexus 2026-10-11 11:06:02 +08:00
  • 3dd5bca28e fix(narrow): hashlib 摘要写字节改用 uint8(...) TermiNexus 2026-10-11 11:05:05 +08:00
  • 19e4ef26a2 refactor(fileio): File/FileW.write 长度形参 ULONG 改为 sizet TermiNexus 2026-10-10 22:15:47 +08:00
  • 705de51459 fix(includes): 消除隐式窄化(string.strlen → int) TermiNexus 2026-10-10 22:09:59 +08:00
  • aa88e46b5d 将 w32 库改为 win32 TermiNexus 2026-10-10 21:58:27 +08:00
  • 1c9447dc82 refactor(fileio): read_all 容量形参 ULONG → sizet(File/FileW) TermiNexus 2026-10-10 21:57:39 +08:00
  • 466c777f34 feat(mlirlite): 常量渲染失败时报出 (类型, 值),便于定位 unsupported constant operand form TermiNexus 2026-10-10 20:07:03 +08:00
  • 0d677bc6f8 将 w32 库进行完整的清理 TermiNexus 2026-10-10 18:03:44 +08:00
  • 7f32042c21 feat(parser): new 的类型改按注解规则解析,认 [N]T 前导数组声明符与 T* 后缀 TermiNexus 2026-10-09 18:44:42 +08:00
  • 17b1d6bb60 feat(tarfile): 纳入 tar 归档读写模块 TermiNexus 2026-10-09 15:01:02 +08:00
  • be62587521 feat(parser): new 接受无实参括号的类型原子;回收 '*' 伪错时同步回退错误位置 TermiNexus 2026-10-09 14:55:43 +08:00
  • bfc773787d feat(lifetime): stdlib.free 标注 @life(willFree(p)),声明实参在调用后失效 TermiNexus 2026-10-08 21:28:55 +08:00
  • 770e389360 fix(argparse): 字符串参数的 NULL 默认值不再写入 TermiNexus 2026-10-08 20:35:17 +08:00
  • 788c52b749 fix(tomllib): 单引号处误用双引号字符串,改为字符字面量 TermiNexus 2026-10-08 20:03:34 +08:00
  • 76deaa27bf feat(mlirlite): 新增 IRBuilder.build_store_at_entry,支持在入口块写入以建立支配关系 TermiNexus 2026-10-08 20:03:33 +08:00
  • 77c8d4f9e4 chore: 纳入 ctraits.vpnci 与 tomllib/(与已删除的 ctraits.vpi 配套) TermiNexus 2026-10-08 17:50:26 +08:00
  • e25e8958f0 WIP 快照:includes 现有改动(含 M2.4 new 描述符的语法支持) TermiNexus 2026-10-08 17:45:31 +08:00
  • e3cdb190dc fix(os): _posix._stat 改为 _mbuddy 堆分配,消除返回栈地址的悬垂 TermiNexus 2026-10-08 12:10:30 +08:00
  • 05b2b7162d feat(stdarg): arg 声明补返回类型;viperlib 改用 arg(T) 读转发 va_list TermiNexus 2026-10-07 20:15:25 +08:00
  • 344ea5c3cd docs(ctraits): 注解与示例改用 cif 语句,去掉已删除的 c.CIf TermiNexus 2026-10-07 19:09:54 +08:00
  • 18136d898f feat(lang): ast 解析器支持 cif 三件套与值引用注解,通用槽改 &temp void TermiNexus 2026-10-07 19:02:48 +08:00
  • 92c2c324cb fix(mlir): 数组包裹的具名结构体回查登记表以补回 packed TermiNexus 2026-10-07 15:41:52 +08:00
  • a8403ee550 chore(detsite): MLIR 类型文本与区域渲染路径补插桩 TermiNexus 2026-10-07 15:16:40 +08:00
  • 825cd2b027 fix(mlir): 全局初始化器区域缓冲溢出不再误报为模块缓冲溢出 TermiNexus 2026-10-07 14:24:06 +08:00
  • 825919b202 fix(compiler): 修复 ViperApps 暴露的 3 处缺陷(vqt6 返回注解 / MLIR 常量命名 / scratch 复用) TermiNexus 2026-10-07 08:48:03 +08:00
  • 587d989dec chore(messages): includes 运行时中文字符串英文化 TermiNexus 2026-10-06 12:23:45 +08:00
  • c0d56b127d chore(comments): includes 头注释英文化(R11 收尾) TermiNexus 2026-10-06 09:42:25 +08:00
  • 14ba84db8e chore(syntax): R1 typedef 右值改用 T*(21 处) TermiNexus 2026-10-05 20:58:38 +08:00
  • af59a752cd chore(syntax): R16 完整 C 式 const/volatile 迁移 TermiNexus 2026-10-05 20:36:35 +08:00
  • 03450a71ff fix(mlirlite): 局部窥孔优化每个函数体只执行一次 TermiNexus 2026-10-05 19:58:39 +08:00
  • c4170871c2 refactor: 去 t.CPtr(&a) 冗余包装(R15) TermiNexus 2026-10-05 17:55:43 +08:00
  • 0055ab7ea7 refactor: rawptr[T] -> T* 与 t.CConst 前缀迁移(R14/R16) TermiNexus 2026-10-05 17:38:21 +08:00
  • 0ef4ba9634 refactor(includes): R12 收尾——再改 48 处可确定安全的计数 while 循环 TermiNexus 2026-10-05 16:36:36 +08:00
  • e71daeea0e docs(includes): R11 注释英文化——75 个文件的中文注释改写为英文短注释 TermiNexus 2026-10-05 16:18:44 +08:00
  • 27121f56a7 refactor(includes): R12 下标 while 循环改 for range,R13 c.Set 迁移为赋值 TermiNexus 2026-10-05 15:33:39 +08:00
  • 3e1ed0992b fix(ast): 修正实参位前导 * 的优先级,*p + n 解析为 (*p) + n TermiNexus 2026-10-05 15:04:01 +08:00
  • e80284a6d5 refactor: 全量迁移 includes 到新规范语法 TermiNexus 2026-10-05 09:04:46 +08:00
  • aecdf27132 feat(mlirlite): 新增调用点记录 API 供 --traceback 旁文件(关闭时零开销) TermiNexus 2026-10-04 22:38:07 +08:00
  • 5dad869a40 fix(mlir): 全局初值 region 草稿缓冲改为单次 PrintModule 复用,修子池耗尽 TermiNexus 2026-10-04 21:09:36 +08:00
  • 68fe839da9 fix(mlir): 类型文本缓冲成对扩容(scratch 尺寸 + 各处 cap) TermiNexus 2026-10-04 19:56:42 +08:00
  • bca0107240 fix(mlir): 模块缩进辅助缓冲改为池可服务的最大单块 1048560(1 MiB − 16) TermiNexus 2026-10-04 18:25:57 +08:00
  • 1cf7186824 fix(mlir): 模块缩进辅助缓冲 1 MiB → 256 KiB(1 MiB 超出模块池 buddy 上限) TermiNexus 2026-10-03 22:28:34 +08:00
  • 1860259659 fix(mlir): 具名结构体统一按模块登记定义渲染(同名同体) TermiNexus 2026-10-03 22:18:29 +08:00
  • f95eb8016b fix(mlir): i1 常量物化用裸布尔关键字(true/false 不带 : i1) TermiNexus 2026-10-03 22:11:45 +08:00
  • a7aaed01f4 fix(mlir): LLVM intrinsic 调用改走 llvm.call_intrinsic,声明不输出 TermiNexus 2026-10-03 22:05:30 +08:00
  • 31fe1bae58 fix(mlir): 补 _MlirModOutTrunc 声明(截断标志此前未落盘) TermiNexus 2026-10-03 21:33:56 +08:00
  • aa94d67183 fix(mlir): GEP 常量索引写字面量并修正类型列表 TermiNexus 2026-10-03 21:33:25 +08:00
  • bff0f20f51 fix(mlir): 模块/函数输出缓冲截断响亮报错 + 缩进辅助缓冲 64 KiB → 1 MiB TermiNexus 2026-10-03 21:15:34 +08:00
  • a502c7242f fix(mlir): 类型文本缓冲按长度给足 + 截断响亮报错(系统性) TermiNexus 2026-10-03 21:07:55 +08:00
  • 33d5737f0c feat(mlir): 补齐 f16/f128 浮点位模式物化 TermiNexus 2026-10-03 20:52:02 +08:00
  • 597e0e5c4a fix(mlir): ConstFloat 的 f32 位模式改取 float 编码(原取 double 低 32 位) TermiNexus 2026-10-03 20:38:27 +08:00
  • f813c0543b fix(mlir): 浮点常量位模式原样直通,消除 %e 截断精度 TermiNexus 2026-10-03 20:35:37 +08:00
  • 751e7e7ef7 fix(mlir): 全局嵌套数组/聚合类型前缀走 region;补 MLIR 形态内层前缀剥离 TermiNexus 2026-10-03 20:32:56 +08:00
  • b519269398 fix(mlir): 全局初值支持结构体类型前缀 {…} {…} TermiNexus 2026-10-03 20:21:19 +08:00
  • d37d8520c2 fix(mlir): 类型文本转换直通 MLIR 浮点标量 f16/f32/f64/f128 TermiNexus 2026-10-03 20:12:48 +08:00
  • 07033094b7 refactor(backend): 删除 includes/llvmlite(单端 MLIR,发射器只留 mlirlite) TermiNexus 2026-10-03 19:27:11 +08:00
  • a99e44863d fix(gep): GEP 下标 zext 下沉到 build_gep/build_gep_array(唯一真源),修复窄整数下标被符号扩展导致越界 TermiNexus 2026-10-03 13:35:31 +08:00
  • 99c1ad44c4 fix(mlirlite): 结构体字段链改用 ParamNode 访问器,消除 ParamNode*→Param* CastError TermiNexus 2026-10-03 12:21:33 +08:00
  • 7bd4cda5be fix(llvmlite): 打印端跳过被同模块定义取代的 external global(消除 redefinition of global) TermiNexus 2026-10-03 12:17:39 +08:00
  • 7f3b3dea1a feat(parser): switch 的 case/default 支持 if 守卫 TermiNexus 2026-10-03 10:58:53 +08:00
  • 7b006c96a0 feat(mlirlite): 补齐 Debug Info 同形 API,导出名集与 llvmlite 一致(215=215) TermiNexus 2026-10-03 07:43:03 +08:00
  • 1e6082afe9 fix(switch): case 标签支持裸名(按值引用)并给出常量标签 fail-fast TermiNexus 2026-10-03 00:14:51 +08:00
  • 2c5b39456b feat(ast): 新增 switch 关键字与 switch 语句,match 完全禁止 fallthrough TermiNexus 2026-10-02 23:15:13 +08:00
  • b85f49ab35 feat(ast): 新增 fallthrough 软关键字语句节点 FallThrough TermiNexus 2026-10-02 22:33:15 +08:00
  • 1566df068f feat(stub): 以 viperbuild.vpnci 替换 project_build.vpnci TermiNexus 2026-10-02 22:07:01 +08:00
  • 7384d9a57c fix(parser): 类型注解位的 __attribute__(...) 只解析调用本身,不再吞掉后续 []T last-good-0.0.5-dev.479 TermiNexus 2026-10-02 17:29:58 +08:00
  • c27ebc1b69 feat(struct): 新增 struct 关键字(class 同形,纯数据类型) TermiNexus 2026-10-01 23:07:11 +08:00