1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
//! Parser for the Yarn interactive dialogue language.
//!
//! This crate is mostly intended to be an internal dependency of the
//! [`silkworm`](https://github.com/silkworm-rs/silkworm) project, an implementation of the
//! [Yarn](https://github.com/YarnSpinnerTool/YarnSpinner/) interactive dialogue language in
//! pure Rust. End users are expected to use `silkworm`, the user-facing API, instead of
//! depending on this crate directly.
//!
//! This crate contains the AST definitions for the language, a lexer, and a parser. All
//! components assume that all sources logically reside in a continuous space that can be
//! indexed using byte positions.

pub use silkworm_err::Error;
pub use silkworm_sourcemap::Span;

pub mod ast;
pub mod lex;
pub mod parse;
pub mod ptr;
pub mod symbol;
pub mod token;