News for hackers. Stuff that matters.
Re:Puffs: Parsing Untrusted File Formats Safely by nigeltao on Thursday November 16, 2017 @06:54PM (#15717800)
What I mean is that you can't write "2 + 3 * 4", not even with implicit LTR, you have to write either "(2 + 3) * 4" or "2 + (3 * 4)".

See e.g the "precedence bug" comment I wrote elsewhere on this page.

Re:Puffs: Parsing Untrusted File Formats Safely by masklinn on Friday November 17, 2017 @03:57AM (#15720326)
My point is that's not "equal precedence". Smalltalk has equal precedence, "2 + 3 * 4" parses as "(2 + 3) * 4". If you reject the expression entirely you don't have equal precedences, you have unmixable operators or precedences (the latter being if "2 + 3 - 4" is still allowed).
Re:Puffs: Parsing Untrusted File Formats Safely by nigeltao on Friday November 17, 2017 @09:45PM (#15727519)
OK, I'll change the wording. Thanks.