org.holtz.zoe.zoel
Interface ZoelVMHost
- All Known Implementing Classes:
- Bug, Phene
public interface ZoelVMHost
An entity that uses a ZoelVM
to execute Zoel code and interact with its World
.
- Author:
- Brian Holtz
random
java.util.Random random()
world
World world()
maxDataSize
int maxDataSize()
maxStepsPerTurn
int maxStepsPerTurn()
tracePrefix
java.lang.String tracePrefix()
get
Literal get(RegisterReference arg)
get
Literal get(Literal key)
put
Literal put(Literal key,
Literal val)
execute
ZoelVM.Turn execute(Operator op,
Literal arg)
implicitArgOf
Expression implicitArgOf(Operator op)
- The implicit argument, if any, of an Operator.
- Parameters:
op
- The Operator.
- Returns:
- A RegisterReference or Literal, or null if op has no implicit argument.