Perliminary parser reworking, required for the proposed multithreading.