vm

package
v0.0.0-...-bfd7a59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VM

type VM struct {
	PC int

	RelativeBase int

	Tape []int
	// contains filtered or unexported fields
}

func NewVM

func NewVM(tape, in []int, debug bool) VM

func (*VM) Run

func (v *VM) Run()

func (*VM) Step

func (v *VM) Step() bool

func (VM) String

func (v VM) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL