Basic bytecode compiler and VM