intcode

package
v0.0.0-...-6280902 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: Apache-2.0 Imports: 4 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 {
	// contains filtered or unexported fields
}

func ReadProgram

func ReadProgram(path string) *VM

func (*VM) Copy

func (vm *VM) Copy() *VM

func (*VM) CycleCount

func (vm *VM) CycleCount() int

func (*VM) Peek

func (vm *VM) Peek(a int) int

func (*VM) Poke

func (vm *VM) Poke(a, v int)

func (*VM) Run

func (vm *VM) Run(in <-chan int, out chan<- int)

Jump to

Keyboard shortcuts

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