Files
TransPyC/TransPyC.py
T
TermiNexus f19d25782f refactor(tpc): 退役 t/c 模块并将定宽类型升级为内建
删除 lib/includes/t.py、c.py,类型模型迁入 lib/core/TypeSystem.py;移除 IsTModule/_T_MODULE_NAMES 等名称判据,语法糖与内部标记统一为裸名;builtins 的 sizet/intN/uintN/fast/least/uchar/short/long 等改为编译器内建短名。
2026-10-18 13:00:58 +08:00

14 lines
403 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# TransPyC 入口程序
# 拆分后的模块位于 lib/Shell/ 目录下
import lib._bootstrap # noqa: F401 设置 sys.path(项目根 + lib)
from lib.Shell import (
SerializeSymbolTable, deSerializeSymbolTable,
SymbolFile, Config, TransPyC
)
__all__ = ['SerializeSymbolTable', 'deSerializeSymbolTable', 'SymbolFile', 'Config', 'TransPyC']
if __name__ == '__main__':
TransPyC().Run()