9 Regular Grammar.pdf - Regular Grammar and DFA Dr D P Acharjya Professor SCOPE 10-Aug-17 Dr D P Acharjya 1 Regular Grammar Let M =(S s0 A be a finite

9 Regular Grammar.pdf - Regular Grammar and DFA Dr D P...

This preview shows page 1 - 4 out of 8 pages.

10-Aug-17 Dr. D. P. Acharjya 1 Regular Grammar and DFA Dr. D. P. Acharjya Professor, SCOPE
Image of page 1
10-Aug-17 Dr. D. P. Acharjya 2 Regular Grammar ° Let M = ( S, Σ , δ , s 0 , A ) be a finite automaton with n - states. Let L be the regular set accepted by M. ° Regular grammar G is a 4 tuple G = ( V N ,T, P, Q 0 ) ± V N : Finite non empty set of variables { Q 0 ,Q 1 , Q 2 ,…., Q n } ± T : Finite non empty set of terminals. Say a T ± P : Set of productions of the form Q i aQ j or Q i a ± Q 0 : Start Symbol
Image of page 2
10-Aug-17 Dr. D. P. Acharjya 3 Construction of Regular Grammar for DFA ° Let M = ( S, Σ , δ , s 0 , A ) be a finite automaton. ° The transitions δ : ( S × Σ ) S ± δ ( s i , a ) s j ; s j may be a final or non final state. ° Let the regular grammar G is a 4 tuple ± G = ( V N ,T, P, Q 0 ) ± V N : Finite non empty set of variables { Q 0 ,Q 1 ,…., Q n } ± T : Finite non empty set of terminals. Say T = Σ ± Q 0 : Start Symbol ± P : Set of productions defined as ° Q i aQ j if δ ( s i , a ) s j and s j is a non final state.
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 8 pages?

  • Winter '17
  • sathya raja shekaran

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors