News for hackers. Stuff that matters.
Re:Partial Operator Precedence by pasc1878 on Thursday November 05, 2026 @03:55AM (#50376843)
No you can have no precedence at all see Lisp and APL for examples.

Lisp because everything is explicit and only the form just inside an opening parenthesis does anything. APL as all is scanned right to left.

Re:Partial Operator Precedence by skrebbel on Friday November 06, 2026 @09:59AM (#50393120)
Obviously. I mean assuming you want to support infix operators at all.
Re:Partial Operator Precedence by fc417fc802 on Friday November 06, 2026 @03:15PM (#50397808)
You had said "that’s easier to implement than not having them" which is what's being objected to there as being plainly incorrect. To your infix comment, for example a strict left to right scan works just fine and is trivial to implement. In that example I guess you'd still strongly prefer to retain precedence for the assignment operator in order to avoid an extra set of parentheses around every expression but that has no effect on the ease of implementing the language itself.