derivation tree

views updated

derivation tree A way of indicating how a context-free grammar derives a particular word. The leaf nodes of the tree are terminals, the other nodes are nonterminals. For example, the tree in the diagram shows a derivation of aabbcbb from the grammar that is shown. Many different derivation sequences can correspond to the same derivation tree.