Proper parser selection