C / C ++ performance issue vs. python / perl seems irrelevant to me. If you want to write your parser using Qt, Boost and any other toolboxes on the shelf, do it. You have not actually indicated whether parsing speed is a problem, but even if that were the case, it would even be important to your case.
Even if you think it might be easier in X, write it in Y if you want to try something new about this language. This seems like a pretty easy task, so just write how you want to write it.
You also need to think about future use. If this program needs additional expansion and expansion, it can provoke a certain choice of language.
Mark source share