Optimized parser