in Compiler Design
576 views
0 votes
0 votes
Design grammar for the language-

set of all strings of 0s and 1s such that every 0 is immediately followed by at least one 1

 

is this correct?

S->A | 01S

A->1AS | ε
in Compiler Design
by
576 views

1 comment

seems to be correct !
0
0

Please log in or register to answer this question.

Related questions