Spent all day working on tokenizer, not quite done.