WIP: add a stream tokeniser & make it pass basic tests
fixup! WIP: add a stream tokeniser & make it pass basic tests