Generic source code tokenizer