Crafting Interpreters in Rust: Parsing Binary Operators, part 3

So far, we implemented parsing for numbers, strings, booleans, nil, unary operators ! and - , multiplication and division, and addition and subtraction. Next on the list are comparison operators (greater-than, less-than, etc.) and equality operators. As a reminder, the grammar for expressions, from the book, looks like this: expression → equality ; equality → comparison ( ( "!=" | "==" )…