Documentation
¶
Overview ¶
Package sdk provides an optional pure Go frontend for generated graphs and repository tests. It emits the same syntax AST consumed by the normative language-neutral compiler and never mounts resources itself.
Index ¶
- func Connect[T any](builder *Builder, from Out[T], to In[T], options ...ConnectOption)
- func ExportInput[T any](builder *Builder, name string, input In[T])
- func ExportOutput[T any](builder *Builder, name string, output Out[T])
- func Lossy(edge *syntax.Edge)
- type Builder
- type ConnectOption
- type In
- type Node
- type Out
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) Compile ¶
func (builder *Builder) Compile(options graphcompiler.Options) (graphcompiler.Result, error)
Compile uses the same normative elaborator as declarative frontends.
type ConnectOption ¶
func Named ¶
func Named(name string) ConnectOption