molt_shell/lib.rs
1//! molt-shell -- The Molt REPL and Test Harness
2//!
3//! This crate provides the code for adding the Molt REPL and related tools to a binary
4//! crate.
5//!
6//! In each case, begin by creating a `molt::Interp` and adding any application-specific
7//! extensions. Then:
8//!
9//! * To invoke the REPL, use [`molt_shell::repl`](./fn.repl.html).
10//! * To execute a script, use [`molt_shell::script`](./fn.script.html).
11//! * To execute the test harness on a Molt test script, use
12//! [`molt_shell::test_harness`](./test_harness/index.html).
13//! * To execute the benchmark harness on a Molt test script, use
14//! [`molt_shell::bench`](./bench/index.html).
15
16pub mod bench;
17mod shell;
18
19pub use bench::*;
20pub use shell::*;