10 lines
186 B
Go
10 lines
186 B
Go
package vm
|
|
|
|
type VirtualMachine interface {
|
|
Env() Environment
|
|
RunClosure(*Closure) ([]byte, error)
|
|
Depth() int
|
|
Printf(string, ...interface{}) VirtualMachine
|
|
Endl() VirtualMachine
|
|
}
|