next up previous
Next: Minimal automaton Up: Lexical Analysis Previous: The role of the lexical

The design of an efficient lexical analyzer

When building an automaton from a regular expression r (of length | r |) two options at least are possible. Now given a word w of length $ \ell$ deciding whether w is a member of L(r) (the language denoted by r) will cost We present now a method that minimizes the number of states of a DFA. So this method applies to improve the second option.



Subsections
next up previous
Next: Minimal automaton Up: Lexical Analysis Previous: The role of the lexical
Marc Moreno Maza
2004-12-02