Lexi
Lexi is a simple lexical analyser generator. It reads a specification of a lexical analyser and generates code which implements that analyser.
The format and generated interface have been recently overhauled somewhat; the current development version differs significantly from the stable release. We have tried to maintain the spirit of the language's simplicity while providing extra conveniences, though.