forked from rust-bakery/nom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove usage of CompleteByteSlice and CompleteStr
since we now have specialized versions of a lot of parsers for streaming or complete input cases, we can remove the awkward types CompleteByteSlice and CompleteStr, along with uses of the AtEof trait that were present in most combinators. This change simplifies the code, and shows (especially in the arithmetic expressions parser tests) that the new function based solution can perform the same work as macros while simplifying the code on complete input
- Loading branch information
Showing
27 changed files
with
515 additions
and
1,913 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.