For the parser a unit test framework would be useful. There are some open source solutions like Google Test, CppUnit or Boost.Test.