Naive implementation of virtual machine with abstract instruction set