standalone generic lexer completed