parser: Note intent to switch to a Pratt parser

This commit is contained in:
John 2024-02-27 23:35:41 -06:00
parent ca51a35f5c
commit 67bb3d4ae3

View File

@ -897,6 +897,7 @@ impl<'t> Parser<'t> {
};
Ok(Assign { head, op, tail: self.expr_from(Self::exprkind_assign)?.into() }.into())
}
// TODO: use a pratt parser for binary expressions, to simplify this
binary! {
exprkind_compare {exprkind_range, compare_op}
exprkind_range {exprkind_logic, range_op}