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 support #2

Closed
MaxDesiatov opened this issue May 21, 2020 · 3 comments · Fixed by #3
Closed

ABNF support #2

MaxDesiatov opened this issue May 21, 2020 · 3 comments · Fixed by #3
Assignees

Comments

@MaxDesiatov
Copy link

I would like to be able to parse Dhall, which provides an ABNF grammar. As far as I understand, ABNF is more standardized, so I wonder how hard would it be for Covfefe to support it?

@palle-k palle-k self-assigned this May 22, 2020
@palle-k
Copy link
Owner

palle-k commented May 22, 2020

I will look into it. From a first look at ABNF, it doesn't look too hard.

Note that the parsers that Covfefe provides don't have amazing performance and depending on the type of grammar you're working with, LL or LR parser implementations will likely perform better.

@palle-k palle-k linked a pull request May 23, 2020 that will close this issue
@palle-k
Copy link
Owner

palle-k commented May 23, 2020

I've released a new version that has ABNF support. I have tested it with the Dhall grammar.

@palle-k palle-k closed this as completed May 23, 2020
@MaxDesiatov
Copy link
Author

@palle-k that's amazing, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants