A new lexical analyzer for Haskell
- The old lexer was hand-written, clumsy and buggy
- The new one is split into two main parts
- A lexical grammar specifications
- A simple transliteration of the grammar in the Haskell report
- A reusable regular expression compiler
- Based on standard text book methods
- All implemented in Haskell 98