26 stable releases (8 major)

Uses new Rust 2024

new 8.0.0 Nov 27, 2026
7.0.0 Nov 27, 2026
6.1.0 Nov 25, 2026
5.9.0 Nov 23, 2026
0.4.0 Apr 13, 2026

#2 in #abl

Download history 1/week @ 2026-08-08 3/week @ 2026-08-15 3/week @ 2026-08-22 1/week @ 2026-08-29 3/week @ 2026-09-05 3/week @ 2026-09-12 17/week @ 2026-09-19 12/week @ 2026-09-26 5/week @ 2026-10-03 5/week @ 2026-10-10 8/week @ 2026-10-17 10/week @ 2026-10-24 10/week @ 2026-10-31 15/week @ 2026-11-07 34/week @ 2026-11-14 12/week @ 2026-11-21

72 downloads per month
Used in oxabl_wasm

MIT license

8MB
162K SLoC

Oxabl — a high-performance tooling suite for Progress ABL.

This umbrella crate is the single dependency a downstream consumer needs to parse, analyze, lint, format, and render diagnostics for ABL source. Rather than re-exporting every sub-crate wholesale, it presents a curated surface: each layer lives under a named module ([ast], parser, semantic, lint, schema, [mod@analyze], formatter, …) that re-exports only the consumer-facing items of its sub-crate, plus a small set of top-level conveniences (parse, Program, Diagnostic).

let program = oxabl::try_parse("MESSAGE \"hello\".").expect("no internal panic");
assert!(program.is_ok());

Curating the surface (rather than globbing each sub-crate at the crate root) keeps internal helpers — e.g. the parser's recovery methods — unreachable by construction and avoids cross-crate name collisions as the workspace grows.

Panics are contained, not documented away

The lexer and parser can panic on some malformed input, so the three entry points that run them come in guarded form: try_parse, try_analyze / try_analyze_with_fs, and try_format_source. Each returns the panic as an InternalPanic carrying its message rather than unwinding into the caller. These are the canonical entry points; the panicking originals (parse, [analyze()], analyze_with_fs, format_source) remain for compatibility and are deprecated.

The guard adds exactly one arm and changes nothing else: a recovered parse error is not a panic (it still arrives in Program::errors), and a formatter bail is not a panic (it still arrives as a FormatBail, now inside FormatFailure).

Two conditions on the guarantee, both documented on catch_panic: it requires the unwinding panic strategy, so a panic = "abort" profile anywhere in the build silently reduces every guard to a pass-through; and it is an explicit pass-through on wasm32-unknown-unknown, where stable Rust builds with -Cpanic=abort and a panic traps instead of unwinding. It does not cover hangs.

Dependencies

~5–41MB
~796K SLoC