aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/virtual_machine.go
blob: 6db284f425f74ac61ff64a6b250702fd7a4059f0 (plain) (blame)
1
2
3
4
5
6
7
8
package vm

type VirtualMachine interface {
    Env() Environment
    Run(context *Context, data []byte) ([]byte, error)
    Printf(string, ...interface{}) VirtualMachine
    Endl() VirtualMachine
}