Lexer generator added

Unknown whether it compiles yet.