A toy parser and lexer built in c++