Maybe Interpreter, Value, what else?
use boa::prelude::*; // This would import all the commonly-used things
fn main() {
let number = Value::number(3.1415);
let realm = Realm::create();
let mut engine = Interpreter::new(realm);
let result = forward(&mut engine, "Math.PI");
}
Would be useful for tests, so we could start with that as a use case.
Most helpful comment
Would be useful for tests, so we could start with that as a use case.