Clean up PreparedGrammar::operator==
Use c++ in runtime src file

It makes string manipulation easier