fix(selfhost): stdlib path + merge all modules, not just imports
- Fix Cli_FindStdlibDir: search for lib/ instead of stdlib/ - Fix Cli_CollectStdlibImports → merge ALL lib/*.bux via bux_list_dir - Fix Cli_CollectStdlibImports path: remove Std/ subdir (now flat) - Add ../../ fallback for rt/ paths (build/selfhost depth) - Update PLAN.md with v0.3.0 structure + v1.0.0 roadmap - Remaining: 7 sema cross-module resolution bugs (pre-existing)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import "../bootstrap/lexer", "../bootstrap/parser", "../bootstrap/ast", "../bootstrap/token"
|
||||
import std/os
|
||||
|
||||
let source = readFile("../_selfhost/src/ast.bux")
|
||||
let source = readFile("../src/ast.bux")
|
||||
let lexRes = tokenize(source, "ast.bux")
|
||||
echo "Tokens: ", lexRes.tokens.len
|
||||
echo "Errors: ", lexRes.hasErrors
|
||||
|
||||
Reference in New Issue
Block a user