RunWithPrompt runs a REPL with the given prompt and no prelude.
// it except panicking, and that'd be pretty rude. it'd be easy enough for a // consumer to define an equivalent function that _does_ panic if desired. _ = RunWithPrompt(vm, fmt.Sprintf("DEBUGGER[%d]> ", i)) }
RunWithPrompt is referenced in 1 repositorygithub.com/robertkrimen/otto
- 1 reference in repl/repl.go