rl_lang/lib.rs
1//! `rl_lang` - the core library crate.
2//!
3//! Re-exports all subsystems so both the CLI binary (`main.rs`) and external
4//! consumers (LSP, tests, benchmarks) can reach them through one crate.
5//!
6//! Feature flags gate optional subsystems:
7//!
8//! | Feature | Enables |
9//! |---|---|
10//! | `eval` | [`checker`], [`interpreter`] |
11//! | `repl_tui` | [`repl`] |
12//! | `lsp` | [`lsp`] |
13//! | `debug` | verbose `log::` output throughout the pipeline |
14pub mod ast;
15#[cfg(feature = "eval")]
16pub mod checker;
17pub mod docs;
18#[cfg(feature = "eval")]
19pub mod interpreter;
20pub mod lexer;
21pub mod logic_loops;
22#[cfg(feature = "lsp")]
23pub mod lsp;
24pub mod parser;
25#[cfg(feature = "repl_tui")]
26pub mod repl;
27pub mod resolver;
28pub mod tooling;
29pub mod utils;