feat: resolve file-local import namespaces

This commit is contained in:
2026-10-25 18:16:30 +01:00
parent abd85e531b
commit d834ff9587
14 changed files with 388 additions and 45 deletions
+8
View File
@@ -160,6 +160,14 @@ scan proc(
cursor += width
continue
}
if (char == '.') {
try add_token(state, Token{
span = make_span(source, cursor, cursor + 1),
kind = .dot,
})
cursor += 1
continue
}
if char == ':' {
if cursor + 1 < program.len and program[cursor + 1] == ':' {