command

package
v0.2.17 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugFile added in v0.2.0

func DebugFile(fileName string, ns types.EnvType) (types.MalType, error)

ExecuteFile executes a file on the given path

func Execute

func Execute(args []string, repl_env types.EnvType) error

Execute is the main function of a command line MAL interpreter. args are usually the os.Args, and repl_env contains the environment filled with the symbols required for the interpreter.

func ExecuteFile added in v0.2.0

func ExecuteFile(fileName string, ns types.EnvType) (types.MalType, error)

ExecuteFile executes a file on the given path

Types

This section is empty.

Jump to

Keyboard shortcuts

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