moved state and vm to core
This commit is contained in:
8
core/vm/virtual_machine.go
Normal file
8
core/vm/virtual_machine.go
Normal file
@ -0,0 +1,8 @@
|
||||
package vm
|
||||
|
||||
type VirtualMachine interface {
|
||||
Env() Environment
|
||||
Run(context *Context, data []byte) ([]byte, error)
|
||||
Printf(string, ...interface{}) VirtualMachine
|
||||
Endl() VirtualMachine
|
||||
}
|
Reference in New Issue
Block a user