diff options
Diffstat (limited to 'core/vm/virtual_machine.go')
-rw-r--r-- | core/vm/virtual_machine.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/vm/virtual_machine.go b/core/vm/virtual_machine.go new file mode 100644 index 000000000..6db284f42 --- /dev/null +++ b/core/vm/virtual_machine.go @@ -0,0 +1,8 @@ +package vm + +type VirtualMachine interface { + Env() Environment + Run(context *Context, data []byte) ([]byte, error) + Printf(string, ...interface{}) VirtualMachine + Endl() VirtualMachine +} |