Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instruction ¶
type Instruction interface{}
func ParseInstruction ¶
func ParseInstruction(s string) (Instruction, error)
type JumpIfEven ¶
type JumpIfEven struct {
// contains filtered or unexported fields
}
type Machine ¶
type Machine struct {
// contains filtered or unexported fields
}
func NewMachine ¶
func NewMachine(is []Instruction) *Machine
Click to show internal directories.
Click to hide internal directories.