pepl-types
Shared types for the PEPL compiler: AST nodes, Span, and structured errors.
This is the foundation crate — every other crate in the PEPL compiler workspace depends on pepl-types.
What's Inside
| Module | Purpose |
|---|---|
ast |
All AST node types: expressions, statements, declarations, types, UI |
ast_diff |
Structural diffing between two ASTs |
error |
PeplError, CompileErrors, error codes, severity levels |
span |
Span (byte-range source locations) and SourceFile |
Key Exports
use ;
use *;
use Result; // alias for std::result::Result<T, PeplError>
Install
License
MIT — see LICENSE