Parse Tree and Ambiguity

Parse Tree

The Hierarchical Syntactic Structure of Sentences of the Languages is called Parse Tree.

A=B*(A+C)
parse-tree

Ambiguity

A grammar that generates sentential form or which there are two or more distinct parse tree is said to be ambiguous.

ambiguity

A=B+C*A it has a distinct parse Tree

ambuity-parse-tree


Facebook Likes

Youtube