How to find viable prefix and handles for given grammar pls someone explain this concept
pls someone provide an apropriate link for this
a viable prefix is a prefix of a right sentential form that does not continue past the right end of the rightmost handle of that sentential form.
mam pls explain how handle and viable prefix are related to each other
epsilon will be always viable prefix for all string but not handle .correct me if wrong?
epsilon can be handle , consider the productions as:
S -> DT
D -> aa
T -> ε
String is aa,then you have to consider epsilon also
in this only D will be handle .how epsilon ?