diff options
Diffstat (limited to 'vm/virtual_machine.go')
-rw-r--r-- | vm/virtual_machine.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vm/virtual_machine.go b/vm/virtual_machine.go new file mode 100644 index 000000000..cc8cd39a9 --- /dev/null +++ b/vm/virtual_machine.go @@ -0,0 +1,9 @@ +package vm + +type VirtualMachine interface { + Env() Environment + RunClosure(*Closure) ([]byte, error) + Depth() int + Printf(string, ...interface{}) VirtualMachine + Endl() VirtualMachine +} |