Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHalt = errors.New("machine: halt")
Functions ¶
This section is empty.
Types ¶
type Instruction ¶
func CloneProgram ¶
func CloneProgram(program []Instruction) []Instruction
func ParseProgram ¶
func ParseProgram(program []string) ([]Instruction, error)
Click to show internal directories.
Click to hide internal directories.