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

Add Whitespace0 and Whitespace1 combinators #4

Open
oleiade opened this issue Sep 7, 2022 · 0 comments
Open

Add Whitespace0 and Whitespace1 combinators #4

oleiade opened this issue Sep 7, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@oleiade
Copy link
Owner

oleiade commented Sep 7, 2022

The library should have some version of a Whitespace0 and Whitespace1 character parser combinators.

Those combinators would consume zero or more white space characters: spaces, linefeed, carriage return, and horizontal tabs. The 1 variant would fail if at least one whitespace character failed to match.

It would likely have a prototype such as:

func Whitespace0[Input Bytes]() Parser[Input, Input]
@oleiade oleiade added the enhancement New feature or request label Sep 7, 2022
@oleiade oleiade added this to the v0.2.0 milestone Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant