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

ABNF review pass #155

Merged
merged 3 commits into from
Jan 5, 2025
Merged

ABNF review pass #155

merged 3 commits into from
Jan 5, 2025

Conversation

CrockAgile
Copy link
Collaborator

A few small changes which I noticed when reviewing #154

  • separate ABNF property test
  • move ABNF parser (and BNF parser to separate file)
  • easier to read parser tests (idk why I wrote them with all the weird helper functions before 🙈 , but made them hard to read)

@CrockAgile CrockAgile requested a review from shnewto January 5, 2025 00:52
@coveralls
Copy link

Coverage Status

coverage: 98.228% (-0.04%) from 98.263%
when pulling b4e7e1c on abnf-review-pass
into 2479db7 on main.

@@ -18,7 +16,7 @@ pub use crate::production::Production;
pub use crate::term::Term;

#[cfg(feature = "ABNF")]
pub use augmented::ABNF;
pub use parsers::ABNF;
Copy link
Owner

Choose a reason for hiding this comment

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

fiddly thing, surprised clippy didn't spot but can ABNF be added to the use below with Format, BNF?

Copy link
Owner

Choose a reason for hiding this comment

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

ah no because it's under a feature flag ✨

Copy link
Owner

@shnewto shnewto left a comment

Choose a reason for hiding this comment

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

nice, and lazylock is great

@CrockAgile CrockAgile merged commit 1e9eca4 into main Jan 5, 2025
10 checks passed
@CrockAgile CrockAgile deleted the abnf-review-pass branch January 5, 2025 01:41
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.

3 participants