pub fn tokenize(input: &str) -> impl Iterator<Item = Token>
Creates an iterator that produces tokens from the input string.