REGtoNFAL - Regular Expression to NFA- (a+ba)*a First...

Info iconThis preview shows pages 1–15. Sign up to view the full content.

View Full Document Right Arrow Icon
Regular Expression to NFA- Λ (a+ba) * a
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
First Parsing Step concatenate (a+ba) * a
Background image of page 2
Second Parsing Step concatenate *a a+ba
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Third Parsing Step concatenate *a + ab a
Background image of page 4
Fourth Parsing Step concatenate *a + a concatenate ba
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Identify Leaf Nodes concatenate * a + a concatenate ba
Background image of page 6
Convert Leaf Nodes concatenate * + concatenate This conversion corresponds to the base case in the transformation algorithm a a a b
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Identify Convertible Node(s) concatenate * + concatenate a a a b Conversion Rule: Concatenation
Background image of page 8
Convert Node concatenate * + a a a b λ Conversion Rule: Concatenation
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Identify Convertible Node
Background image of page 10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 12
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 14
Background image of page 15
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/25/2008 for the course CSE 460 taught by Professor Torng during the Fall '07 term at Michigan State University.

Page1 / 15

REGtoNFAL - Regular Expression to NFA- (a+ba)*a First...

This preview shows document pages 1 - 15. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online