Documentation
¶
Overview ¶
Package hook breaks the lisp/codewalk import cycle. Only lisp injects these adapters, and internal/codewalk consumes them after lisp initializes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Forms any
Forms holds the form-only runtime visitor adapter.
var Occurrences any
Occurrences holds func(*lisp.CodeWalker, int, *lisp.LVal) bool.
var PackageForms any
PackageForms holds func([]*lisp.LVal) []*lisp.LVal.
var Walk any
Walk holds the source adapter accepting a walker, Options, and a form. Its typed signature is recovered by internal/codewalk.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
Binding describes application-defined binding syntax. The caller validates both indices; a negative NameIndex means the form declares no name.
type Node ¶
type Node[V, E any] struct { Node *V Owner *V Formals *V Init *V Op string Depth int Head bool Bound bool Function bool Outer bool Template bool Event E }
Node carries source-only metadata without depending on lisp. Both sides instantiate exactly this type, so the bridge does not copy each event.