1
$\begingroup$

for example i have a code of strings which is efzau and 47 how can i define a grammar, set of terminal symbols and set of non terminal using B.N.F?

Thanks

  • 0
    Just define "efzau" and "47" as terminals and some start symbol to be either "efzau" or "47" and you're done.2011-03-28

0 Answers 0