Experimental lexer implementation.