package
6.0.0+incompatible
Repository: https://github.com/srcup/u-root.git
Documentation: pkg.go.dev

# Functions

Eval takes a Forth and []Cell, pushing each element on the stack or invoking the operator if it is found in the opmap.
EvalPop takes a Forth and string, calls EvalString, and returns TOS and an error, if any.
EvalString takes a Forth and string and splits the string on space characters, calling Eval for each one.
Getop gets an op from the map.
New creates a new stack.
NewWord allows for definition of new operators from strings.
Ops returns the operator map.
Putop creates a new operation.
String returns the Top Of Stack if it is a string or panics.

# Variables

Debug is an empty function that can be set to, e.g., fmt.Printf or log.Printf for debugging.

# Interfaces

No description provided by the author
Forth is an interface used by the package.

# Type aliases

No description provided by the author