A meaningless promotion

we can replace eat(tok) { return this.next == tok && (this.pos++ || true) } with eat(tok) { return this.next == tok && (++this.pos) } to save few bytes.

in my humble opinion sending a pull request on Github might facilitate a better discussion for your proposed changes.