Small (, young and very naive) implementation of a general-purpose lexer in Haskell.