Avoid creating a new string when the scanner recognizes a binary operator.
Add some methods on the input builder interface in order to catch each binary operator.