Phase 7: Self-hosting compiler — all 13 modules ported to Bux (3981 LOC)

This commit is contained in:
2026-05-31 13:29:14 +03:00
parent 5c1a00cbd6
commit 6ee6b3b529
13 changed files with 3994 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
// source_location.bux — Source position tracking
module SourceLocation;
struct SourceLocation {
line: uint32,
column: uint32,
offset: uint32,
}
func SourceLocation_New(line: uint32, column: uint32, offset: uint32) -> SourceLocation {
return SourceLocation { line: line, column: column, offset: offset };
}