rush_sh/
lib.rs

1//! Rush Shell Library
2//!
3//! This library provides the core functionality of the Rush shell,
4//! exposing modules for external use such as benchmarking and testing.
5
6pub mod lexer;
7pub mod parser;
8pub mod executor;
9pub mod state;
10pub mod arithmetic;
11pub mod parameter_expansion;
12pub mod brace_expansion;
13pub mod builtins;
14pub mod completion;
15
16// Re-export main types for convenience
17pub use state::ShellState;
18pub use lexer::Token;
19pub use parser::{Ast, ShellCommand};
20pub use executor::execute;