type VM interface {
// Define binds a new method to the vm Define(name string, method interface{}) error// Execute evaluates exp and returns the yielded value Execute(exp Exp) (interface{}, error)
}
VM is an interface of a virtual machine evaluates expressions