parsuna 0.1.0

Parsuna: recoverable, pull-based parsers with precise errors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Grammar parsing and the in-memory grammar IR.
//!
//! [`parser::parse_grammar`] reads a `.parsuna` source file and produces
//! a [`ir::Grammar`]. The parser itself is generated by parsuna from the
//! `parsuna.parsuna` grammar (see `generated.rs`), which means
//! parsuna bootstraps itself.
mod generated;
pub mod ir;
pub mod parser;

pub use ir::*;
pub use parser::parse_grammar;