public void RegisterBuiltins(Interpreter interpreter) { interpreter.AddBuiltin( new WrappedCodeObject("open", typeof(NativeResourceManager).GetMethod("open_func"), this)); interpreter.AddBuiltin( new WrappedCodeObject("print", typeof(NativeResourceManager).GetMethod("print_func"), this)); }