Skip to main content

Module parser

Module parser 

Source
Expand description

Hand-rolled recursive-descent S-expression parser.

O(n) time complexity, no backtracking, fuel-bounded (ADR-001). Mirrors Parser.lean from the Lean 4 proof library.

Enums§

ParseError
Parser errors with source location (ADR-002).

Functions§

parse
Parse an S-expression from input text (REQ-040).
parse_with_fuel
Parse with explicit fuel limit (REQ-043).