A String Parser genterate tokens by setting states and transitions of Deterministic Finite Automata (DFA).