if you have a regular language then there must exist a unambiguas grammar . so we can say ambiguity problem of regular language is decidable.
example
S---> aS/Sa/a it is regular language and also ambiguous . but there exist a unambiguous grammar
S-->as/a .
it is regular language and also ambiguous . but there exist a unambiguous grammar
but doesn't one unambiguous grammar makes the whole language unambiguous?
There is no inherent ambiguity in regular languages.
Every regular language is convertible to an NFA.
An NFA is convertible to a DFA.
A DFA is conertible to a minimal DFA.
The minimal DFA is unique.
https://cs.stackexchange.com/questions/63171/how-to-prove-that-minimal-dfa-is-unique
64.3k questions
77.9k answers
244k comments
80.0k users