从 TransPyC 主项目中分离 VRTE

This commit is contained in:
TermiNexus committed 2026-08-17 11:01:35 +08:00
commit 14ff9d109f
121 files changed
+41596

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import t
# ============================================================
# 内置函数(Python 语义,自动与 builtins 关联,无需显式 import)
# ord: 字符 → ASCII 码(int)
# chr: ASCII 码 → 字符(t.CChar)
# ============================================================
def ord(s: t.CChar) -> int:
return s
def chr(i: int) -> t.CChar:
return i