Java Compiler implementation in C++