Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(tokenizer): Introduce sequences & fast forwarding #1007

Merged
merged 13 commits into from
Nov 11, 2021

Conversation

fb55
Copy link
Owner

@fb55 fb55 commented Nov 11, 2021

Sequences allow us to remove a lot of repetitive states. Fast forwarding allows us to skip ahead in the buffer, if we are only looking for one specific character.

Also fixes a bug where immediately closed comments (eg. <!-->) wouldn't be recognised.

@coveralls
Copy link

coveralls commented Nov 11, 2021

Pull Request Test Coverage Report for Build 1446853899

  • 149 of 149 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.04%) to 99.473%

Totals Coverage Status
Change from base Build 1446358020: -0.04%
Covered Lines: 755
Relevant Lines: 759

💛 - Coveralls

@fb55 fb55 merged commit 6a1b54d into master Nov 11, 2021
@fb55 fb55 deleted the refactor/sequences branch November 11, 2021 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants