5.3.1. Expressions

You should be familiar with expressions such as 5+1 from mathematics. Build up expressions the way you learned in algebra, but use * for multiplication and / for division. Use parentheses for grouping, as in 5*(2+1).

You evaluate an expression to yield a result. For example, evaluating expression 2+6 yields result 8, evaluating 3+4+5 yields 12 and evaluating (4+5)*7 yields 63.