WIP 快照:includes 现有改动(含 M2.4 new 描述符的语法支持)
语法侧(M2.4):ast/base.vp 枚举尾部追加 ASTKind.New;ast/exprs.vp 新增 NEW_SRC_*/NEW_LIFE_* 与 class New;ast/parser.vp 新增 _is_new_expr/_parse_new_expr(new 为软关键字,不进 Keyword 表,new=1/new.x/new(1) 仍是标识符);ast/__init__.vp 再导出 New 与常量。 其余为既有 WIP 改动一并快照,保持基线一致(39 文件,+312/-237)。 未纳入:ctraits.vpi(已删除)、ctraits.vpnci、tomllib/(均未跟踪)。
This commit is contained in:
1 parent
e3cdb190dc
commit
e25e8958f0
39 files changed
+312
-237
No files matched your search
@@ -1,6 +1,3 @@
|
||||
import t
|
||||
|
||||
|
||||
# Variant type tags (fixed enumeration + custom pointer type)
|
||||
define VARIANT_NONE = 0 # Untyped / null value
|
||||
define VARIANT_INT = 1 # int (i64)
|
||||
|
||||
Reference in new issue
Block a user