mq_repl/lib.rs
1//! This crate provides a REPL (Read-Eval-Print Loop) environment for the [mq](https://github.com/harehare/mq), allowing for interactive execution of mq code.
2//!
3//! The REPL supports:
4//! - Interactive command evaluation
5//! - History navigation
6//! - Code execution in a persistent environment
7//!
8//! ## Example
9//!
10//! ```rust
11//! use mq_repl::Repl;
12//!
13//! let repl = mq_repl::Repl::new(vec![mq_lang::RuntimeValue::String("".to_string())]);
14//! repl.run().unwrap();
15//! ```
16mod command_context;
17mod repl;
18
19pub use repl::Repl;