[][src]Function artichoke_backend::interpreter

pub fn interpreter() -> Result<Artichoke, ArtichokeError>

Create and initialize an [Artichoke] interpreter.

This function creates a new [State], embeds it in the [sys::mrb_state], initializes an in memory virtual filesystem, and loads the [extn] extensions to Ruby Core and Stdlib.