org.holtz.zoe
Interface ZoelVMHost

All Known Implementing Classes:
Bug

public interface ZoelVMHost

An entity that uses a ZoelVM to execute Zoel code and interact with its World.

Author:
Brian Holtz

Method Summary
 int cycle()
           
 int dataStackMaxSize()
           
 CallRecord defaultCallRecord()
           
 ZoelVM.Turn evaluate(RegisterReference arg)
           
 ZoelVM.Turn execute(Operation operation)
           
 int id()
           
 int maxStepsPerTurn()
           
 java.util.Random random()
           
 ZoelVM.Turn step()
           
 

Method Detail

random

java.util.Random random()

dataStackMaxSize

int dataStackMaxSize()

defaultCallRecord

CallRecord defaultCallRecord()

maxStepsPerTurn

int maxStepsPerTurn()

cycle

int cycle()

id

int id()

evaluate

ZoelVM.Turn evaluate(RegisterReference arg)

execute

ZoelVM.Turn execute(Operation operation)

step

ZoelVM.Turn step()