In Ruby, the operator precedence is (implicitly) defined, and documented in a couple of places, for example at Ruby operator precedence table.
Some languages allow setting or changing the operator precedence, for example in Prolog: https://www.swi-prolog.org/pldoc/man?predicate=op/3.
Is that possible in Ruby too?
For example switching the order of addition and multiplication:
1 + 2 * 3 + 4
# => standard precedence results in 1 + 6 + 4 => 11
1 + 2 * 3 + 4
# => changed precedence would result in 3 * 7 => 21