Concept Flow - Ambiguity in grammars
Start with Grammar
Parse Input String
Generate Parse Trees
Check Number of Parse Trees
One
Unambiguous
The process starts with a grammar and input string, then generates parse trees. If there is more than one valid parse tree for the same input, the grammar is ambiguous.