Bison like parser implementation in c++

Bison like parser implementation in c++