comparison method
Implementation
Expr comparison() {
Expr expr = term();
while (match([
TokenType.GREATER,
TokenType.GREATER_EQUAL,
TokenType.LESS,
TokenType.LESS_EQUAL
])) {
Token operator = previous();
Expr right = term();
expr = Binary(expr, operator, right);
}
return expr;
}