Started load directive.

This commit is contained in:
2025-09-03 22:31:18 +02:00
parent 4924b01eac
commit 11c936ba7f
5 changed files with 89 additions and 8 deletions

View File

@@ -1783,7 +1783,9 @@ check :: (result : *Compile_Result) {
init_semantic_checker(*checker, result.root, result.file.path);
// @Performance: Should have this built in stuff done earlier and only once
// Actually, these are not built-ins, they should be a core lib you import.
// So if we add imports, we can just add this file.
// Maybe we should just do #load
add_builtins(*checker);
checker.result.file = file;