First commit : create basic lexer with exception handler.