Isolated lexer