A simple parser of C++ codes (only lexical analysis, no semantic checking)
It is similar to a sax-parser by its interface.