Expand description
The runtime input-parser interpreter (§7).
Evaluates a compiled ParserPlan against the process-input buffer (or a
Text value), allocating GC results (Int, Float, Byte, Char,
source-slice Text, Vec, Grid, Record, Tuple, enum values) and
raising FaultKind::ParseFailed on mismatch.
The plan type and global arena live in praxis-input-parser; this
interpreter looks up a plan by its [PlanId] and walks its node arena.
The arena is not #[repr(C)]. It is ordinary Rust enums and slices, and
nothing here crosses an FFI boundary — only the plan id is a JIT immediate.
praxis_input_parser::plan’s own doc is the authority on its layout.
Functions§
- run_
plan_ ⚠by_ id - Run the parser plan named by
raw_idagainstinput, returning the parsed result orNoneon failure (a value that names no plan →None; parse mismatch → setsParseFailedfault +None).