1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
///! Docs at [https://jonay2000.github.io/rust-lwb/](https://jonay2000.github.io/rust-lwb/)

/// Code describing languages created with rust-lwb
#[macro_use]
pub mod language;

/// Contains code related to syntax definitions
/// and parsing target languages based on these
/// definitions. Also contains sort/constructor
/// related code and code generation for these.
/// Contains the PEG parser.
pub mod parser;

/// Contains code related to source code of languages
/// such as spans, and the [`SourceFile`] struct.
pub mod sources;

/// Collection of imports used in automatically generated
/// files (to avoid listing many imports in them). Should
/// not generally be used directly by users of rust-lwb
pub mod codegen_prelude;

/// Code related to generating rust source files
/// from language definitions. Usually used from
/// build.rs files.
pub mod codegen;

/// Code related to configuring rust-lwb
pub mod config;

// Mostly used in bootstrapper
pub use bincode;
pub mod error;