Compile comparison expressions