-
Notifications
You must be signed in to change notification settings - Fork 106
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
Basic default rules? #201
Labels
feature
Something not supported that perhaps should be
Comments
Can this get a "Help wanted" or "Good first issue" label, to bring some contributor attention to this? |
This is blocked on an imports mechanism (#25) or some other way to inject the library into your grammar, which requires some design and deeper implementation work. However, we could start collecting these basic rules into a file under |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it might be a nice addition, maybe as a Crate Feature, to have some basic defaults, such as for matching alphanumerics, newlines, etc.
use peg::preset_rules;
at the top of a grammar, and have access to a set of "primitives", so to speak.The text was updated successfully, but these errors were encountered: