rhue_parser/lib.rs
1//! Rhue's parser. Hand-written recursive descent for statements, Pratt parsing
2//! for expressions.
3//!
4//! This is part of [Rhue](https://docs.rs/rhue)'s guts. If you're embedding
5//! Rhue, use the `rhue` crate, that's the API that stays stable.
6//!
7//! It recovers from errors at statement boundaries, so one run can report a
8//! bunch of separate mistakes.
9
10pub mod ast;
11mod parser;
12mod strings;
13
14pub use parser::{MAX_DEPTH, MAX_ERRORS, parse_chunk, parse_expr, parse_type};
15
16#[cfg(test)]
17mod tests;