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

derive/examples: add a help menu grammar and parser #856

Merged
merged 3 commits into from
May 22, 2023

Conversation

e-dant
Copy link
Contributor

@e-dant e-dant commented May 15, 2023

For pest_derive, an example program is added here which parses a common help menu format and dumps a part of the parse tree to stdout.

@e-dant e-dant requested a review from a team as a code owner May 15, 2023 00:26
@e-dant e-dant requested review from NoahTheDuke and removed request for a team May 15, 2023 00:26
@e-dant e-dant changed the title add a help menu grammar and parser derive/examples: add a help menu grammar and parser May 15, 2023
Copy link
Contributor

@tomtau tomtau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the example -- could you run cargo clippy --fix ? https://github.com/pest-parser/pest/actions/runs/4975232692/jobs/8905610101?pr=856#step:5:19

@e-dant
Copy link
Contributor Author

e-dant commented May 21, 2023

thanks for the example -- could you run cargo clippy --fix ? https://github.com/pest-parser/pest/actions/runs/4975232692/jobs/8905610101?pr=856#step:5:19

Latest commits should address this (and simplify the example a bit)

Thank you

@e-dant e-dant requested a review from tomtau May 21, 2023 23:39
@tomtau tomtau merged commit 9176af2 into pest-parser:master May 22, 2023
9 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants