A quick comparison
- The old handwritten lexer for Haskell: 664 lines
- The new lexer generator: 678 lines
- The lexer specification for Haskell: 193 lines
- The new layout processing: 100 lines
- Size of the Haskell code for the generated DFA: 5500 lines (148 states)
- The new lexer+parser seems to be 10-15% slower than the old one.
- The Haskell Prelude and Standard Libraries (2943 lines) are still
parsed in less than one second (on a 600MHz Pentium III).