Skip to main content

rlsp_yaml_parser/
lib.rs

1// SPDX-License-Identifier: MIT
2
3//! `rlsp-yaml-parser` — a spec-faithful YAML 1.2 parser.
4//!
5//! This crate implements the full YAML 1.2 grammar by transliterating each of
6//! the 211 formal productions from the spec into a parser combinator function.
7//! Comments and spans are first-class data.
8
9pub mod block;
10pub mod chars;
11pub mod combinator;
12pub mod emitter;
13pub mod encoding;
14pub mod event;
15pub mod flow;
16pub mod loader;
17pub mod node;
18pub mod pos;
19pub mod schema;
20pub mod stream;
21pub mod structure;
22pub mod token;
23
24pub use event::parse_events;
25pub use loader::load;
26pub use stream::tokenize;