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

feat(combinators/lookahead): add lookahead combinator #69

Merged
merged 2 commits into from
Jan 16, 2023

Conversation

norskeld
Copy link
Owner

@norskeld norskeld commented Jan 16, 2023

This PR:

  • Fixes a bug in string and ustring parsers regarding pos.
  • Adds lookahead combinator.

Related to #50

…ounds

In some cases, e.g. when used with `lookahead`, the resulting pos in failure result could point beyound input length.
@norskeld norskeld self-assigned this Jan 16, 2023
@vercel
Copy link

vercel bot commented Jan 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
sigma ✅ Ready (Inspect) Visit Preview Jan 16, 2023 at 5:14PM (UTC)

@coveralls
Copy link

Pull Request Test Coverage Report for Build 3932583682

  • 7 of 7 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 3926631607: 0.0%
Covered Lines: 255
Relevant Lines: 255

💛 - Coveralls

@norskeld norskeld merged commit 497c7a8 into master Jan 16, 2023
@norskeld norskeld deleted the feat/lookahead branch January 16, 2023 17:16
@norskeld
Copy link
Owner Author

🎉 This PR is included in version 3.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@norskeld norskeld added R-released Semantic Release: Success A-combinators Area: Issues related to combinators labels Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-combinators Area: Issues related to combinators R-released Semantic Release: Success
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants