evaluator

package
v0.0.0-...-5ff04a5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NULL  = &object.Null{}
	TRUE  = &object.Boolean{Value: true}
	FALSE = &object.Boolean{Value: false}
)

Singleton variable in the interpreter

Functions

func DefineMacros

func DefineMacros(program *ast.Program, env *object.Environment)

func Eval

func Eval(node ast.Node, env *object.Environment) object.Object

func ExpandMacros

func ExpandMacros(program ast.Node, env *object.Environment) ast.Node

Types

This section is empty.

Jump to

Keyboard shortcuts

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