Step towards c++ scanner/parser