Syntax Directed Translations

Consider the SDT given below:

S → pSq / qSp / ∈

The above SDT performs:
A. Converts into binary numbers

B. Separately gives the count of p and q

C. Computing total number of p’s and q’s

D. Checks the number of pairs of p’s & q’s

Someone explain this...

0Comment