prepare simple lexer