Define parse trees and syntax trees

The parse tree itself is a useful intermediate language representation for a source program. A parse tree, however often contains redundant information which can be eliminated. A variant of a parse tree is what is called an syntax tree, a tree in which each leaf represents an operand and each interior node an operator.

 

Leave a Reply