pub fn load_module_tree(
root_deps: &[String],
module_root: &str,
) -> Result<Vec<LoadedModule>, String>Expand description
Load a dependency tree starting from root_deps.
Returns modules in dependency order (leaves first).
Validates module declarations and detects circular imports.