Documentation ¶ Index ¶ Constants type Options type REPL func New(user string, args []string, opts *Options) *REPL func (r *REPL) Eval(f io.Reader, out io.Writer) (env *object.Environment) func (r *REPL) Run() func (r *REPL) StartEvalLoop(in io.Reader, out io.Writer, env *object.Environment) Constants ¶ View Source const PROMPT = "#=> " Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Options ¶ type Options struct { Interactive bool } type REPL ¶ type REPL struct { // contains filtered or unexported fields } func New ¶ func New(user string, args []string, opts *Options) *REPL func (*REPL) Eval ¶ func (r *REPL) Eval(f io.Reader, out io.Writer) (env *object.Environment) func (*REPL) Run ¶ func (r *REPL) Run() func (*REPL) StartEvalLoop ¶ func (r *REPL) StartEvalLoop(in io.Reader, out io.Writer, env *object.Environment) Source Files ¶ View all Source files repl.go Click to show internal directories. Click to hide internal directories.