Skip to main content

Crate pepl_types

Crate pepl_types 

Source
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§

ast
AST node types for the PEPL language.
ast_diff
AST diff infrastructure for PEPL.

Structs§

CompileErrors
The structured JSON output for compilation results.
ErrorCode
Numeric error code (E100–E699).
PeplError
A structured PEPL compiler error.
SourceFile
Holds the source text for error reporting.
Span
Source location span.

Enums§

ErrorCategory
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.