Expand description
Shared types for the PEPL compiler.
This crate defines the AST node types, source spans, error types, and other shared data structures used across all compiler stages.
Modules§
Structs§
- Compile
Errors - The structured JSON output for compilation results.
- Error
Code - Numeric error code (E100–E699).
- Pepl
Error - A structured PEPL compiler error.
- Source
File - Holds the source text for error reporting.
- Span
- Source location span.
Enums§
- Error
Category - Error category, determined by error code range.
- Severity
- Error severity.
Constants§
- MAX_
ERRORS - Maximum number of errors reported before fail-fast.
Type Aliases§
- Result
- Result type used throughout the PEPL compiler.