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

Convenience syntax for many #1581

Open
epage opened this issue Dec 7, 2022 · 0 comments
Open

Convenience syntax for many #1581

epage opened this issue Dec 7, 2022 · 0 comments

Comments

@epage
Copy link
Contributor

epage commented Dec 7, 2022

In writing #1580 and considering #1408, I've been wondering how to better handle repetition. At the moment, my guiding thought for ´Parser` is it should only have helpers to operate on Output and not on Parsers.

A thought I had was could we and should we make parser * 5, parser * 1..5 work?

We could then extend that to #1508 and allow HEX_DIGIT * 4 to turn them into parsers.

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

No branches or pull requests

1 participant