aboutsummaryrefslogtreecommitdiffstats
path: root/vm/virtual_machine.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-18 19:31:20 +0800
committerobscuren <geffobscura@gmail.com>2014-10-18 19:31:20 +0800
commit20c742e47406c13ebc6427951f6fcf1b0056ea26 (patch)
treee8112a93626c0f20ca5aa9ac91ea2d1be07150d9 /vm/virtual_machine.go
parenta02dc4ccc321bdee2a670eecdf5c3bac01fc290b (diff)
downloaddexon-20c742e47406c13ebc6427951f6fcf1b0056ea26.tar
dexon-20c742e47406c13ebc6427951f6fcf1b0056ea26.tar.gz
dexon-20c742e47406c13ebc6427951f6fcf1b0056ea26.tar.bz2
dexon-20c742e47406c13ebc6427951f6fcf1b0056ea26.tar.lz
dexon-20c742e47406c13ebc6427951f6fcf1b0056ea26.tar.xz
dexon-20c742e47406c13ebc6427951f6fcf1b0056ea26.tar.zst
dexon-20c742e47406c13ebc6427951f6fcf1b0056ea26.zip
Moved ethvm => vm
Diffstat (limited to 'vm/virtual_machine.go')
-rw-r--r--vm/virtual_machine.go9
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
+}