Pascal Compiler in C++