evaluator

package
v0.0.0-...-0f82cbf Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any = types.Any

type Bool

type Bool = types.Bool

type ErrNaN

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

func (*ErrNaN) Error

func (e *ErrNaN) Error() string

type ErrNotCallable

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

func (*ErrNotCallable) Error

func (e *ErrNotCallable) Error() string

type ErrNumArgs

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

func (*ErrNumArgs) Error

func (e *ErrNumArgs) Error() string

type ErrTrace

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

func Trace

func Trace(err error, context Any) *ErrTrace

func (*ErrTrace) Error

func (e *ErrTrace) Error() string

type ErrWrongType

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

func (*ErrWrongType) Error

func (e *ErrWrongType) Error() string

type Evaluator

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

func NewEvaluator

func NewEvaluator() *Evaluator

func (*Evaluator) EvalString

func (e *Evaluator) EvalString(code string) ([]Any, error)

type Float

type Float = types.Float

type Int

type Int = types.Int

type List

type List = types.List

type String

type String = types.String

type Symbol

type Symbol = types.Symbol

Jump to

Keyboard shortcuts

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