pub type PrimitiveFn = Box<dyn Fn(&mut State, usize)>;
Helper type for builtin functions to pass the engine state
pub struct PrimitiveFn(/* private fields */);