Printable idea sheet
parser_rust
reqlan rq/core_analysis/rust_port.rq:159
Katz 0.217
Recursive-descent parser matching reqlan.langium productions into a Rust AST the extractor can walk.
Recovery: nameless `{...}` and local import mistakes still yield a usable document ( recovery_vs_budget ).
Wall-clock parse_budget_timeout via native timeout / cancel — no Node worker process required on the index path.
Open `.rq` buffers and CLI `parse` use `reqlan-parse` ( language_server_rust ).
Langium remains a dual-parser test oracle and the transitional `node` engine fallback — not the default editor LSP.
Alignment contract: parser_align.
- status
- done
- tests
- parser.rs:keeps_inline_prose_braces, parser.rs:recovers_nameless_block, parser.rs:from_import_records_each_token_span, parser.rs:recovers_invalid_from_import_and_keeps_later_ideas, parser.rs:times_out_hang_sentinel, parser.rs:keeps_ideas_after_mid_line_triple_backticks, lexer.rs:mid_line_at_plan_brace_stays_prose, golden_corpus.rs:corpus_idea_names_match_langium_extract, golden_corpus.rs:tutorials_rq_keeps_ideas_after_nested_slides_lists, parsing.test.ts:keeps later ideas after nested @slides lists with mid-line @plan braces, parsing.test.ts:parse tutorials.rq nested @slides lists without parser errors, langium-rust-parse-align.test.ts:golden corpus matches live Langium and Rust snapshots, runtime-engine.test.ts:parse command uses native parseReqlanSource, load-native.test.ts:exposes parseReqlanSource on the engine when present
Interactive page: parser_rust