pub fn load(path: impl AsRef<Path>) -> Result<LoadedSchema, LoadError>Expand description
Load a schema from a file or directory.
- If
pathis a file: parse the single file. - If
pathis a directory: recursively find*.prax, parse each, merge with collision detection, then validate the merged AST.