Rule of Thumb

Operators which bind more tightly  are introduced farther away  from the root.

 

Ex

*  binds more tightly than +

The grammar dictates the way expression trees would be  constructed.

Trees are "grown" starting with the root  of the grammar

(E in the case of expressions)

E Þ

 

E Þ

 

To Next Slide To Previous Slide To Contents