code: func (l *State) Load(r io.Reader, chunkName string, mode string) error {
  	if chunkName == "" {
  		chunkName = "?"
  	}
  
  	if err := protectedParser(l, r, chunkName, mode); err != nil {
  		return err
  	}
  
  	if f := l.stack[l.top-1].(*luaClosure); f.upValueCount() == 1 {
  		f.setUpValue(0, l.global.registry.atInt(RegistryIndexGlobals))
  	}
  	return nil
  }
docs: // Load loads a Lua chunk, without running it. If there are no errors, it
  // pushes the compiled chunk as a Lua function on top of the stack.
  // Otherwise, it pushes an error message.
  //
  // http://www.lua.org/manual/5.2/manual.html#lua_load