Another tokeniser. Not finished yet.