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

type VirtualMachine interface {
    Env() Environment
    RunClosure(*Closure) ([]byte, error)
    Depth() int
    Printf(string, ...interface{}) VirtualMachine
    Endl() VirtualMachine
}