Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REPL ¶
type REPL struct {
// contains filtered or unexported fields
}
REPL is the read-evaluate-print loop.
func (*REPL) Eval ¶
func (r *REPL) Eval(f io.Reader) (env *object.Environment)
Eval parses and evalulates the program given by f and returns the resulting environment, any errors are printed to stderr
func (*REPL) StartEvalLoop ¶
StartEvalLoop starts the REPL in a continious eval loop
Click to show internal directories.
Click to hide internal directories.