Evaluate expressions as soon as possible (“Simplify” as soon as possible)
Item
How to Handle
Primitive Expressions
Take the value
Operator Combinations
Evaluate operands, apply operator
Constant declaration
Evaluate the value expression, and replace the name by the value
Function application (function call)
Evaluate component expressions. If the function is primitive, then apply the primitive function, If the function is compound, then substitute the function with bodies of function declarations