func MakeLoad() func(thread *starlark.Thread, module string) (starlark.StringDict, error)
MakeLoad returns a simple sequential implementation of module loading suitable for use in the REPL. Each function returned by MakeLoad accesses a distinct private cache.
func PrintError(err error)
PrintError prints the error to stderr, or its backtrace if it is a Starlark evaluation error.
func REPL(thread *starlark.Thread, globals starlark.StringDict)
REPL executes a read, eval, print loop.
Before evaluating each expression, it sets the Starlark thread local variable named "context" to a context.Context that is cancelled by a SIGINT (Control-C). Client-supplied global functions may use this context to make long-running operations interruptable.