CALC compiler and translator C++