Precedence
s
:
*
> . > +
Example:
(
(
a
.
(
a
*
)
)
+
(
(
b
*
)
.
b
)
)
can be written as
a
.
a
*
+
b
*
.
b
,
and
a
.
a
*
+
b
*
.
b
can be written as
a
+
+
b
+
1)
R
educ
tion of
the number of parentheses
by
3) Expression
rr
*
or
r
*
r
is
simplified to
r
+
Simplification
2) Expression
r
.
s
is
simplified to
rs
4
/2
9