Versions in this module Expand all Collapse all v0 v0.2.0 Oct 11, 2024 Changes in this version + const ErrBadInstruction + const ErrEmptyArgStack + type Allocator struct + func NewAllocator() *Allocator + func (a *Allocator) Free(vals data.Vector) + func (a *Allocator) Malloc(size int) data.Vector + type Closure struct + func (c *Closure) Call(args ...data.Value) data.Value + func (c *Closure) Captured() data.Vector + func (c *Closure) CheckArity(i int) error + func (c *Closure) Equal(other data.Value) bool + func (c *Closure) HashCode() uint64 + type Procedure struct + ArityChecker data.ArityChecker + func MakeProcedure(run *isa.Runnable, arity data.ArityChecker) *Procedure + func (p *Procedure) Call(values ...data.Value) data.Value + func (p *Procedure) CheckArity(int) error + func (p *Procedure) Equal(other data.Value) bool + func (p *Procedure) Get(key data.Value) (data.Value, bool) + func (p *Procedure) HashCode() uint64 + func (p *Procedure) Type() types.Type + type Ref struct + func (r *Ref) Equal(other data.Value) bool