asm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: AGPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Facts map[string]vm.Generator
}

Context for linker

func NewContext

func NewContext() *Context

func (*Context) Add

func (ctx *Context) Add(id string, gen vm.Generator) *Context

type Generator

type Generator struct {
	Name string
	Addr []vm.Addr
}
func (gen *Generator) Link(ctx *Context) vm.Stream

func (*Generator) String

func (gen *Generator) String() string

type Horn

type Horn struct {
	Body []Stream
}
func (horn *Horn) Link(ctx *Context) vm.Stream

func (*Horn) String

func (horn *Horn) String() string

type Stream

type Stream interface {
	Link(*Context) vm.Stream
}

Jump to

Keyboard shortcuts

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