maat_errors
Compiler error types and diagnostic infrastructure for the Maat programming language.
Role
maat_errors defines the canonical Error enum and the Result<T> alias used across every crate in the Maat compiler. Each compilation stage--lexing, parsing, type checking, code generation, VM execution, and module resolution—contributes a dedicated error variant so that errors can be accumulated, converted with ?, and reported with precise source locations via embedded Span values.
Usage
use ;
use Span;
// All compiler error variants are accessible through the top-level Error type
API Docs
Repository
github.com/maatlabs/maat. See the project README for an overview of the full compiler pipeline.