Skip to content

Conversation

@timtadh
Copy link
Owner

@timtadh timtadh commented Mar 26, 2018

This PR will add support for scanning a byte stream instead of needing to read in the entire file. Note, because of how lexical analysis lookahead works in rare cases you still might need to read in the whole file. However, this will help many common cases.

This is not finished.

timtadh added 7 commits March 27, 2018 07:22
Signed-off-by: Tim Henderson <[email protected]>
Not being able to call Peek(0) was a real pain and made using streams
much more difficult. This changes the behavior of streams to make
Peek(0) be ok but Peek() can only be called after Advance(>=1).

Signed-off-by: Tim Henderson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants