Move all parsing of binary operators into one function.