[][src]Crate artichoke_core

artichoke-core

artichoke-core crate provides a set of traits that, when implemented, create a complete Ruby interpreter.

artichoke-core is a work in progress. When fully functioning, artichoke-core will provide interpreter-agnostic implementations of Ruby Core and Ruby Standard Library that pass ruby/spec if an interpreter implements all of the required traits.

Modules

convert

Convert between Rust and Ruby objects.

def

Define Classes, Modules and methods on an interpreter.

eval

Run code on an Artichoke interpreter.

exception

Support for Ruby Exceptions.

file

File-backed Rust extensions for the Artichoke VM.

load

Load Ruby and Rust sources into the VM.

state

Capture stdout and stderr from an interpreter.

top_self

Expose the global context, called top self, to the interpreter.

types

Artichoke Ruby and Rust type mappings.

value

Types that implement Value can be represented in the Artichoke VM.

warn

Emit warnings during VM execution.

Enums

ArtichokeError

Errors returned by Artichoke interpreters.