Take 2: generator.prototype[Symbol.mixedIterator]

Here's a streaming parser toolkit which I'm currently laying the foundations for: A human-friendly json parser with parserate ยท GitHub

It allows you to write super simple, readable parsing code. It gives you the full power of regex, allows arbitrary forward lookahead, and it allows you to define syntax without worry about red and blue (sync and async).