Versions in this module Expand all Collapse all v3 v3.1.0 Feb 12, 2026 v3.0.0 Feb 10, 2026 Changes in this version + var ErrClosed = errors.New("closed") + var ErrNoSolutions = errors.New("no solutions") + type Interpreter struct + func New(in io.Reader, out io.Writer) *Interpreter + func NewEmpty() *Interpreter + func (i *Interpreter) Exec(query string, args ...interface{}) error + func (i *Interpreter) ExecContext(ctx context.Context, query string, args ...interface{}) error + func (i *Interpreter) Query(query string, args ...interface{}) (*Solutions, error) + func (i *Interpreter) QueryContext(ctx context.Context, query string, args ...interface{}) (*Solutions, error) + func (i *Interpreter) QuerySolution(query string, args ...interface{}) *Solution + func (i *Interpreter) QuerySolutionContext(ctx context.Context, query string, args ...interface{}) *Solution + type Scanner interface + Scan func(vm *engine.VM, term engine.Term, env *engine.Env) error + type Solution struct + func (s *Solution) Err() error + func (s *Solution) Scan(dest interface{}) error + type Solutions struct + func (s *Solutions) Close() error + func (s *Solutions) Err() error + func (s *Solutions) Next() bool + func (s *Solutions) Scan(dest interface{}) error + type TermString string + func (t *TermString) Scan(vm *engine.VM, term engine.Term, env *engine.Env) error Other modules containing this package github.com/axone-protocol/prolog/v2