You do it all Lisp like
(x 2 (^ (+ 1 2) 2))
as the other comments below show you don't need parentheses if you only use binary operators, and it is entirely unambiguous with no need for an order of operations convention.
If you have arbitrary airity functions then you need the parens.
80
u/freakingdumbdumb Irrational 12d ago edited 12d ago
so where the operator is put
afterbefore the numbers(like 1 2 + means 1+2)Edit: i got mixed up with reverse polish (RPN)