pub fn parse(
dir: &Path,
includes: &[PathBuf],
) -> Result<(RawAst, ForeignModules, Env, TyEnv)>Expand description
Parse a Fiducia directory and load what its programs import:
parse_sources, its data_layer built and its headers written, then
the imports read, with includes after the project’s own include path.
Returns the AST, the imports and the data layer.