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)
Click to show internal directories.
Click to hide internal directories.