Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Interpreter ¶
type Interpreter struct { Mach Mach Halt bool PC int Vars map[string]int64 Subs []int Fors []ForStack Locs map[int64]int Lines []ast.Stmt }
func NewInterpreter ¶
func NewInterpreter(mach Mach) *Interpreter
func (*Interpreter) Reset ¶
func (p *Interpreter) Reset()
func (*Interpreter) Step ¶
func (p *Interpreter) Step() error
Click to show internal directories.
Click to hide internal directories.