Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.43 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.43 KB

Evcxr REPL

Latest Version Downloads License

A REPL (Read-Eval-Print loop) for Rust using the evcxr evaluation context.

Installation and Usage

Before you install the REPL, you must download a local copy of Rust's source code:

$ rustup component add rust-src

Now you can go ahead and install the binary:

$ cargo install evcxr_repl

And start the REPL:

$ evcxr  
Welcome to evcxr. For help, type :help
>> 

Usage information

Evcxr is both a REPL and a Jupyter kernel. See Evcxr common usage for usage information that is common to both.

Manual Installation

You can install the REPL manually with git:

$ cargo install --force --git https://github.com/google/evcxr.git evcxr_repl

Similar projects

  • cargo-eval Not interactive, but it gives you a quick way to evaluate Rust code from the command line and/or scripts.
  • rusti. Deprecated since 2019. Also, rusti requires a nightly compiler from 2016 and doesn't appear to persist variable values.