[][src]Crate papyrus

Build Status Latest Version Rust Documentation codecov Rustc Version 1.30+

A rust REPL and script running tool.

See the rs docs. Look at progress and contribute on github.

papyrus=> 2+2
papyrus [out0]: 4

Papyrus is in active development, see changelog for updates

Re-exports

pub use cmdtree;
pub use racer;

Modules

cmds

Extendable commands for repl.

compile

Pertains to compiling a working directory into a library, then executing a function in that library.

complete

Completion components and api for aspects of papyrus.

fmt

Format rust code snippets using rustfmt.

input

Parsing of input.

output

Reading and writing output.

pfh

papyrus file handling Pertains to file operations and compilation.

prelude

Re-exports of most common types and modules.

repl

The repl takes the commands given and evaluates them, setting a local variable such that the data can be continually referenced. To construct a repl instance, use the macros repl!.

run

Running the repl. Requires runnable feature.

Macros

repl

Build a repl instance with the default terminal. If a type is specfied (ie repl!(String)) then the repl will be bounded to use that data type. Otherwise the default () will be used.