Given Grammar: T-> T+R| R R-> R*V| V V->(T)| u When unit productions are deleted we are left with T-> T+R| _______|(T)| u R->R*V|(T)| u V->

Given Grammar:
T-> T+R| R
R-> R*V| V
V->(T)| u
When unit productions are deleted we are left with
T-> T+R| _______|(T)| u
R->R*V|(T)| u
V-> (T)| u
Fill in the blank:
A. T*V
B. T+V
C. R*T
D. R*V
 

Tìm kiếm

Back
Top