Structs§
- Loaded
Module - A parsed module ready for backend consumption.
Functions§
- canonicalize_
path - find_
module_ file - load_
module_ tree - Load a dependency tree starting from
root_deps. Returns modules in dependency order (leaves first). Validates module declarations and detects circular imports. - load_
module_ tree_ from_ map - Sibling of
load_module_treethat resolves dependency modules from an in-memory file map instead of the filesystem. Used by the playground so a browser-side virtual fs can compile a multi-file project without disk IO. - parse_
source - require_
module_ declaration - Enforce module contract for file-based programs:
exactly one
moduledeclaration and it must be the first top-level item.