You may wish to read more about the following programs:
The following books may contain material of interest:
John Levine, Tony Mason, and Doug Brown, Lex & Yacc, O’Reilly and Associates. Be sure to get the 2nd edition.
M. E. Lesk and E. Schmidt, LEX – Lexical Analyzer Generator
Alfred Aho, Ravi Sethi and Jeffrey Ullman, Compilers: Principles,
Techniques and Tools, Addison-Wesley (1986). Describes the
pattern-matching techniques used by
flex (deterministic finite