Parse binary operators

For now, they're all left associative.
This commit is contained in:
Joscha 2022-11-19 12:40:49 +01:00
parent 63f8026007
commit 408219073a
10 changed files with 99 additions and 39 deletions

View file

@ -20,6 +20,14 @@ pub enum BinOp {
Eq,
/// `!=`
Neq,
/// `>`
Gt,
/// `>=`
Ge,
/// `<`
Lt,
/// `<=`
Le,
/// `and`
And,
/// `or`