Parse and evaluate comparisons