Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
ruby
src
Cargo.toml
README.md

README.md

artichoke-frontend

CircleCI Discord Twitter
Frontend documentation

Crate artichoke-frontend provides binaries for interacting with the Ruby interpreter implemented in the artichoke-backend.

airb

airb is the Artichoke implementation of irb and is an interactive Ruby shell and REPL.

airb is a readline enabled shell, although it does not persist history.

To invoke airb, run:

cargo run --bin airb

artichoke

artichoke, which is also aliased to ruby, is the ruby binary frontend to Artichoke.

artichoke supports executing programs via files, stdin, or inline with one or more -e flags.

Artichoke does not yet support reading from the local filesystem. A temporary workaround is to inject data into the interpreter with the --with-fixture flag, which reads file contents into a $fixture global.

$ cargo run --bin artichoke -- --help
artichoke 0.1.0
Artichoke is a Ruby made with Rust.

USAGE:
    artichoke [FLAGS] [OPTIONS] [--] [programfile]

FLAGS:
        --copyright    print the copyright
    -h, --help         Prints help information
    -V, --version      Prints version information

OPTIONS:
    -e <commands>...                one line of script. Several -e's allowed. Omit [programfile]
        --with-fixture <fixture>

ARGS:
    <programfile>
You can’t perform that action at this time.