Theoretical Aspects of Lexical Analysis/Exercise 14

From Wiki**3

< Theoretical Aspects of Lexical Analysis

Compute the non-deterministic finite automaton (NFA) by using Thompson's algorithm. Compute the minimal deterministic finite automaton (DFA).
The alphabet is Σ = { a, b }. Indicate the number of processing steps for the given input string.

  • G = { a*|b, a|b*, a* }, input string = aababb

Co-ex13.jpg