This grammar generates the language a(bb)*bc
, i. e. the set of words that begin with an a
followed by an odd number of b
and a final c
.
This language L
is the same one recognized by the automaton of Example 2 in DFA section.
For local users:
to run AUTOMATA
(read here before running).
To visualize the construction of the equivalent automaton:
gram
button of the working session
menu
example02.gr
in the directory GrammEx
Word Derive