feat: self-hosting progress - Nim backend, parser fixes, 64 struct fields, 13/14 modules check

This commit is contained in:
2026-06-01 23:42:25 +03:00
parent 1e8e119d9e
commit 2b911410cb
31 changed files with 2507 additions and 266 deletions
+10 -10
View File
@@ -9,21 +9,21 @@ const skConst: int = 3;
const skModule: int = 4;
// Maximum symbols per scope
const maxSymbols: int = 256;
const maxSymbols: int = 1024;
struct Symbol {
kind: int,
name: String,
typeKind: int,
typeName: String,
isMutable: bool,
isPublic: bool,
kind: int;
name: String;
typeKind: int;
typeName: String;
isMutable: bool;
isPublic: bool;
}
struct Scope {
symbols: *Symbol,
count: int,
parent: *Scope,
symbols: *Symbol;
count: int;
parent: *Scope;
}
// ---------------------------------------------------------------------------