bce

package
v0.0.0-...-3974014 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BytecodeExecutor

type BytecodeExecutor struct {
	// contains filtered or unexported fields
}

BytecodeExecutor is responsible for execute the bytecode.

func New

New creates a new BytecodeExecutor.

func (*BytecodeExecutor) Next

func (bce *BytecodeExecutor) Next() (code int, err error)

Next returns the next bytecode.

func (*BytecodeExecutor) Run

Run receives the context (constant pool, vars, stack, stdin and stdout) and runs the bytecode.

Jump to

Keyboard shortcuts

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