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

fix(parse): Dramatically simplify the API #50

Merged
merged 12 commits into from
Mar 6, 2023
Merged

fix(parse): Dramatically simplify the API #50

merged 12 commits into from
Mar 6, 2023

Conversation

epage
Copy link
Collaborator

@epage epage commented Mar 6, 2023

The problem I had with Parser::advance_str and friends was trying to support every random use case. So instead, I've removed all of that policy and instead we are exposing just state changes.

Using state_change is still more complicated than I would like and would like to look at projects to see if there are alternatives.

This gets us most of the way to #4

@epage epage merged commit 953a9ef into main Mar 6, 2023
@epage epage deleted the revert branch March 6, 2023 19:33
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.

1 participant