Finished the first version of the modularized PEG parser (need debug).