Tiny Parser in C++