News for hackers. Stuff that matters.
Re:Pratt Parsers: Expression Parsing Made Easy (2011) by ReleaseCandidat on Saturday January 20, 2024 @04:22PM (#39072484)
That's what I would think too (as it doesn't make much sense to compare a boolean to c), but what OP wrote doesn't make much sense else:

   or if `a < b < c` is to be treated differently than `(a < b) < c`
Re:Pratt Parsers: Expression Parsing Made Easy (2011) by int_19h on Saturday January 20, 2024 @06:23PM (#39073566)
OP is saying that you can write (a < b < c) in C and the likes, but it behaves as if ((a < b) < c), which is pretty much never what you want - hence why ternary and N-ary comparison operators like the Python one are desirable in the first place.