Preparing building phase for parser generation