compiler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: EPL-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct {
	Macroexpand1 func(form interface{}) (interface{}, error)
	CreateVar    func(sym *Symbol, env Env) (interface{}, error)
	IsVar        func(v interface{}) bool

	Gensym func(prefix string) *Symbol

	FindNamespace func(sym *lang.Symbol) *lang.Namespace
}

func (*Analyzer) Analyze

func (a *Analyzer) Analyze(form interface{}, env Env) (*ast.Node, error)

Analyze performs semantic analysis on the given s-expression, returning an AST.

type Env

type Env IPersistentMap

Jump to

Keyboard shortcuts

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