Stack based VM implemented in C++ Templates