AoC2019Go

package
v0.0.0-...-eae8170 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntCodeCompiler

type IntCodeCompiler struct {
	Values []int
	Reg    int
	Input  int
	// contains filtered or unexported fields
}

func (IntCodeCompiler) Output

func (i IntCodeCompiler) Output() optional.Int

func (IntCodeCompiler) Peek

func (c IntCodeCompiler) Peek(pos int) int

func (*IntCodeCompiler) Run

func (i *IntCodeCompiler) Run()

func (*IntCodeCompiler) Set

func (c *IntCodeCompiler) Set(pos, val int)

func (*IntCodeCompiler) SetInput

func (c *IntCodeCompiler) SetInput(val int)

Jump to

Keyboard shortcuts

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