Replace handwritten lexer with a Ragel-generated one.