repl

package
v0.0.1-pre-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PROMPT = "REPL>>"

Variables

View Source
var (
	HELP = Command{
			// contains filtered or unexported fields
	}
	LEX = Command{
		// contains filtered or unexported fields
	}
	NEW_ENV = Command{
			// contains filtered or unexported fields
	}
	EXIT = Command{
			// contains filtered or unexported fields
	}
)

Functions

func Eval

func Eval(input string, in io.Reader, out io.Writer)

func EvalWithEnv

func EvalWithEnv(input string, env *object.Environment) object.Object

func Start

func Start(in io.Reader, out io.Writer)

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

func (Command) Keyword

func (c Command) Keyword() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL