尝试进行 Qt 测试,增加了 AI 人机调试工具 _console,以及 TransPyV 进行修正

This commit is contained in:
2026-07-21 14:41:22 +08:00
parent a277ded8d4
commit 135aa05485
311 changed files with 7084 additions and 2131 deletions

View File

@@ -12,14 +12,22 @@ pagecode: t.CDefine = 65001
def add(x: int, y: int): return x + y
def minus(x: int, y: int): return x - y
@t.CExport
def main() -> int:
def main(argc: int, argv: t.CArray[str]) -> int:
w32cmd.SetConsoleOutputCP(pagecode)
w32cmd.SetConsoleCP(pagecode)
print("你好,世界")
# this.this()
hello.helloworld()
#print(argc)
#print(t.CUInt64T(argv))
#stdio.printf("A: %s", (t.CChar | t.CPtr)(t.CUInt64T(argv)))
#for i in argv:
# stdio.printf("%s", i)
print("hello world")
#p: bytes = stdlib.malloc(1024)
#hub = memhub.MemSlab(p, 1024)
#p1: bytes = hub.alloc(10)