Consider the expression
$$|x + 2|x + 3|x + 4|.$$
One way to interpret this is that there are two products being added together:
$$|x+2|x \hspace{1cm} + \hspace{1cm} 3|x+4|$$
But you could also interpret it as the absolute value of an expression that itself contains an absolute value:
$$|x \hspace{1cm} +2|x+3|x \hspace{1cm} +4|$$
These two interpretations are not equivalent. For instance, substituting $x=0{:}$
\begin{align*} |0+2|0 \hspace{1cm} &+ \hspace{1cm} 3|0+4| \hspace{1cm} = 12 \\[7pt] |0 \hspace{1cm} +2|0&+3|0 \hspace{1cm} +4| \hspace{1cm} = 4 \\[7pt] |0 + 2|0 &+ 3|0 + 4| \hspace{2cm} = \,\, ??? \end{align*}
Granted, this is a contrived example and I've never actually seen an ambiguous case come up in real life (or in any math textbook). I only stumbled upon this while developing algorithms to handle edge cases in a free response grader a couple years ago. (And even then, behavior on this edge case doesn't make a difference in practice since none of the correct answers that would be graded against involve ambiguous notation.)
I also realize that the expression could be made un-ambiguous by explicitly writing multiplication symbols, or by tweaking the absolute value notation to distinguish between left bars and right bars (e.g. via sizing/spacing/padding, or by writing $\textrm{abs}(\cdot)$ instead of $|\cdot|$). And I realize that there are obvious ways to solve this issue in the context of software (e.g. designing a user interface that avoids ambiguous notation, or using heuristics like choosing the interpretation with the lowest nesting depth).
But I'm still curious to know: given an ambiguous absolute value expression, is there a standard convention for interpreting it? In other words, loosely speaking, is there a standard "order of operations" for parallel vs nested absolute value expressions, in the absence of clarifying notation?
(The answer may be that there is no agreed-upon rule.)
Update: Dave L Renfro posted a comment "If there is [a standard convention], then it almost certainly would only be applied in a computer coding (or calculator) setting, and it would not generally be known in the mathematical community" which seems convincing enough that there is no agreed-upon rule: mathematicians use symbol sizing (or other notational means) to avoid ambiguity and therefore have no need for a rule to interpret ambiguous cases (since ambiguous cases shouldn't exist in a mathematical text).
I will accept if this comment is posted as an answer or integrated to the parent answer.
a/b/cwritten with horizontal bars of the same size so you can't tell if it's $ \frac{\frac{a}{b}}{c} = \frac{a}{bc} $ or $ \frac{a}{\frac{b}{c}} = \frac{ac}{b} $ While you can nest parenthesis easily, since the opening and closing ones are distinct, there's no way to tell which fraction bar is the "outer" one, without the visual cue. And similarly there's no way to tell any nesting from the absolute value bars if they're the same size. So, don't do that. (And I'll be happy to give a chewing out to any middle school educator trying that.) – ilkkachu Nov 11 '23 at 18:31