[−][src]Crate molt_shell
molt-shell -- The Molt REPL and Test Harness
This crate provides the code for adding the Molt REPL and related tools to a binary crate.
In each case, begin by creating a molt::Interp and adding any application-specific
extensions. Then:
- To invoke the REPL, use
molt_shell::repl. - To execute a script, use
molt_shell::script. - To execute the test harness on a Molt test script, use
molt_shell::test_harness. - To execute the benchmark harness on a Molt test script, use
molt_shell::bench.
Re-exports
pub use bench::*; |
Modules
| bench | Molt Benchmark Harness |
Functions
| repl | Invokes an interactive REPL for the given interpreter, using |
| script | Executes a script from a set of command line arguments. |