Lecture Notes 12
Lecture Notes 12
Discrete Structures
2018-2019 Spring Semester
Let G = (V, T, S, P), where V = {a, b, A, B, S}, T = {a, b}, S is the start symbol,
and P = {S → ABa, A → BB, B → ab, AB → b}.
G is an example of a phrase-structure grammar.