Polish notation
The above sketched stack manipulation works—with mirrored input—also for expressions in reverse Polish notation.