Re:Partial Operator Precedence
by foldr on Thursday November 05, 2026 @10:59AM
(#50380785)
Extra precedence levels don't really make parsing any easier. You have to handle precedence level ties anyway (for expressions involving multiple instances of the same operator, like 1 + 2 + 3 + 4 ...). All you have to do is decide whether any given binary operator is right or left associative.
[ Parent
| on HN ]
There are no comments on this comment yet.