For a context-free grammar G = (V,T,S,P)
If one production rule of G is A -> nBC where n ∈ T*, does it mean that the production rule of the form A -> BC is also allowed?
Since n ∈ T*, can n be empty due to the Kleene star on T (set of terminals)?
For a context-free grammar G = (V,T,S,P)
If one production rule of G is A -> nBC where n ∈ T*, does it mean that the production rule of the form A -> BC is also allowed?
Since n ∈ T*, can n be empty due to the Kleene star on T (set of terminals)?
Copyright © 2021 JogjaFile Inc.