run_repl

Function run_repl 

Source
pub fn run_repl() -> Result<()>
Expand description

Run the REPL

§Examples

use ruchy::run_repl;

run_repl().expect("Failed to run REPL");

§Errors

Returns an error if:

  • The REPL cannot be initialized
  • User interaction fails