Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analysis ¶
type Analysis struct {
Types map[*ast.Node]ast.TypeInfo
Functions map[string]FunctionInfo
Structs map[string]ast.TypeInfo
Bridges []SchemaBridge
OptimizationSignatures []OptimizationSignature
Diagnostics []Diagnostic
Private map[string]bool
}
Analysis contains the inferred type/layout for every visited AST node. The AST nodes are also annotated so later lowering passes can consume the metadata without maintaining a second node-keyed lookup table.
type Diagnostic ¶
Diagnostic is a semantic error that can be reported without terminating a library caller. The command-line checker converts these into HowlFrame's normal JSON error format in Check.
type FunctionInfo ¶
FunctionInfo is the typed signature collected from a defun declaration.
type OptimizationCandidate ¶
OptimizationCandidate is one labeled prompt or program variant recorded by an optimize_signature declaration.
type OptimizationSignature ¶
type OptimizationSignature struct {
Name string
Metric string
Tests []string
Candidates []OptimizationCandidate
Line int
Column int
BodyType ast.TypeInfo
}
OptimizationSignature records compile-time optimization intent. Test commands and candidates are metadata only; the compiler never executes them.
type SchemaBridge ¶
SchemaBridge records a source expression whose output is constrained to a declared HowlFrame struct at a model or other structured-output boundary.