a message compiler generating cpp codes