-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add stringIn1
parser
#110
Merged
Merged
Add stringIn1
parser
#110
Commits on Dec 17, 2020
-
This parser builds a radix tree from non empty string alternatives. Radix trees are interesting as they allow for efficient parsing of string alternatives (e.g. enum names) without backtracking and require only 1 character lookahead. String alternatives are first sorted and then grouped by common non empty prefix. Grouped string are then recursively grouped with the same process. In the resulting tree, each group of substrings start with a different character, which can be used to decide which alternative branch to take. This operator is inspired by fastparse `stringIn` one, and requires all alternatives to be non empty.
Configuration menu - View commit details
-
Copy full SHA for 8f289b8 - Browse repository at this point
Copy the full SHA 8f289b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4db928 - Browse repository at this point
Copy the full SHA a4db928View commit details -
Configuration menu - View commit details
-
Copy full SHA for 161a422 - Browse repository at this point
Copy the full SHA 161a422View commit details -
Configuration menu - View commit details
-
Copy full SHA for 230ef69 - Browse repository at this point
Copy the full SHA 230ef69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 499810e - Browse repository at this point
Copy the full SHA 499810eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f80f1 - Browse repository at this point
Copy the full SHA 82f80f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e77536 - Browse repository at this point
Copy the full SHA 3e77536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6353391 - Browse repository at this point
Copy the full SHA 6353391View commit details -
Configuration menu - View commit details
-
Copy full SHA for f10a5a9 - Browse repository at this point
Copy the full SHA f10a5a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc084d0 - Browse repository at this point
Copy the full SHA cc084d0View commit details
Commits on Dec 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 923763e - Browse repository at this point
Copy the full SHA 923763eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54adec5 - Browse repository at this point
Copy the full SHA 54adec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 409f367 - Browse repository at this point
Copy the full SHA 409f367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d90c18 - Browse repository at this point
Copy the full SHA 7d90c18View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.