retagged by
2,475 views
3 votes
3 votes
I have gone through this link and found that both are synonyms to each other but I am not getting that when we have more than one parse tree for a string so do we say that the grammar is ambiguous since in the parse tree we haven't mentioned whether it is a left-most-derivation tree or right-most-derivation tree and we say that for a grammar  to be unambiguous we should have a unique left-most derivation tree and unique right-most derivation tree .

 

http://stackoverflow.com/questions/5729961/any-differences-between-terms-parse-trees-and-derivation-trees
retagged by

1 Answer

1 votes
1 votes
Both derivation tree and parse tree are same.

The tree made for each derivation (right most or left most) would be the same. So, for an unambiguous grammar be have a single parse/derivation tree.

Related questions