Add all comparison operators and add commands.

Note: adding commands introduced 3 shift reduce conflict. Fortunately,
flex's default behavior of shifting is the correct thing to do in these
situations. However, relying on this is a bit hackish even though it
works, so I'll try to find a way to refactor the grammar when I'm better
rested.