Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(data/buffer/parser/*): expand parser properties (#6339)
Add several new properties to parsers: `static` `err_static` `step` `prog` `bounded` `unfailing` `conditionally_unfailing`. Most of these properties hold cleanly for existing core parsers, and are provided as classes. This allows nice derivation for any parsers that are made using parser combinators. This PR is towards proving that the `nat` parser provides the maximal possible natural. Other API lemmas are introduced for `string`, `buffer`, `char`, and `array`.
- Loading branch information
Showing
5 changed files
with
1,506 additions
and
60 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
Oops, something went wrong.