Implemented parser generation in gradle