feat: macros (multi-rep, hygiene), Drop field-move, lean multi-OS CI
ci / build (ubuntu) (push) Has been cancelled
ci / unit + fmt (push) Has been cancelled
ci / examples (push) Has been cancelled
ci / goldens + tools (push) Has been cancelled
ci / apps (push) Has been cancelled
ci / selfhost smoke (push) Has been cancelled
ci / macos smoke (push) Has been cancelled
ci / windows smoke (push) Has been cancelled
ci / CI gate (push) Has been cancelled
selfhost-loop / bootstrap determinism (push) Has been cancelled

Sessions 56–69: declarative macro! with rep/zip/literal/block and
unhygienic var $name binders; partial field-move skip Drop; @[Release]
polish; LSP type hierarchy; CI Nim cache + lean macOS + Windows smoke.
This commit is contained in:
2026-07-20 17:19:46 +03:00
parent 6f2a3b1d88
commit fe3b1e8b6a
41 changed files with 5281 additions and 141 deletions
+5
View File
@@ -64,6 +64,8 @@ type
tkDyn # dyn
tkDefer # defer
tkLifetime # 'a (lifetime parameter)
tkMacro # macro (declarative macro! definitions)
tkDollar # bare $ for macro rep $( ... )*
##Punctuation
tkLParen # (
@@ -224,6 +226,7 @@ proc keywordKind*(text: string): TokenKind =
of "comptime": tkComptime
of "dyn": tkDyn
of "defer": tkDefer
of "macro": tkMacro
of "true", "false": tkBoolLiteral
else: tkIdent
@@ -281,6 +284,8 @@ proc tokenKindName*(kind: TokenKind): string =
of tkComptime: "'comptime'"
of tkDyn: "'dyn'"
of tkDefer: "'defer'"
of tkMacro: "'macro'"
of tkDollar: "'$'"
of tkLifetime: "lifetime"
of tkLParen: "'('"
of tkRParen: "')'"