reader

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read_str

func Read_str(str string, cursor *Position, placeholderValues *HashMap, ns ...EnvType) (MalType, error)

Read_str reads Lisp source code and generates cursor and environment might be passed nil and READ will provide correct values for you. It is recommended though that cursor is initialised with a source code file identifier to provide better positioning information in case of encountering an execution error.

EnvType is required in case you expect to parse Go constructors

Types

type Reader

type Reader interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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