code: private static Parser<Expression> compare(
        Parser<Expression> operand, String name, Op op) {
      return Parsers.sequence(
          operand, term(name).retn(op), operand,
          BinaryExpression::new);
    }
docs: ************************ utility methods ***************************