Predictive parser