vm

package
v0.0.0-...-aefcc70 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2017 License: BSD-3-Clause Imports: 6 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
}

The VM, with its program and memory abstractions.

func New

func New() *VM

Create a new VM.

func NewWithWriter

func NewWithWriter(w io.Writer) *VM

Create a new VM with the specified output stream.

func (*VM) Run

func (vm *VM) Run(r io.Reader)

Run executes the vm bytecode read by the reader.

Jump to

Keyboard shortcuts

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