A “prelude” for users of the
This prelude is similar to the standard library’s prelude in that you’ll almost always want to import its entire contents, but unlike the standard library’s prelude, you’ll have to do so manually:
The prelude may grow over time as additional items see ubiquitous use.
- Errors encountered when incrementing line numbers on parser state.
- Classes of Ruby types.
- Classes of Rust types.
- Define and store class specs on an interpreter.
- Coerce Ruby values to native numerics (floats and integers).
- Infallible conversion between two types.
- Mutable infallible conversion between two types.
- Debugging and
- Define constants on an interpreter.
- Execute code and retrieve its result.
- Rust extension hook that can be required.
- Get and set global variables on an interpreter.
- A trait for retrieving an interpreter-global
- Store and retrieve byte strings that have the same lifetime as the interpreter.
- Perform I/O external to the interpreter.
- Load Ruby sources and Rust extensions into an interpreter.
- Define and store module specs on an interpreter.
- Manage parser state, active filename context, and line number metadata.
- Interpreter global pseudorandom number generator (PRNG).
- Information about an Artichoke build.
- Return a
Value-wrapped reference to top self.
- Fallible conversions between two types.
- Mutable fallible conversions between two types.
- A boxed Ruby value owned by the interpreter.
- Emit warnings during interpreter execution to stderr.