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

Please add tags "test ambiguity" etc #53

Open
safinaskar opened this issue May 16, 2021 · 2 comments
Open

Please add tags "test ambiguity" etc #53

safinaskar opened this issue May 16, 2021 · 2 comments

Comments

@safinaskar
Copy link

So far I was able to find one library on Hackage for testing ambiguity of arbitrary CFGs using brute force: "Earley". If you know any other library, please, let me know.

Unfortunately I discovered this library too late, so I had to roll out my own ugly solution for ambiguity checking. So, please, make this library discoverable. I want this library to show up if I type "test ambiguity" and similar queries in http://hackage.haskell.org/packages/search . As well as I understand you need to add tags to do this. So, please, add following tags: "test ambiguity of CFG", "test ambiguity of context-free grammar", "check ambiguity of CFG" etc. And mention this feature in README

@ollef
Copy link
Owner

ollef commented May 21, 2021

As seen in #54 this library might not be the end-all solution to testing ambiguity, but perhaps we could add e.g. "ambiguous grammars" or something as a tag. Is this a field in the cabal file, or how do the tags work? A PR would be welcome.

@safinaskar
Copy link
Author

I just checked list of tags ( http://hackage.haskell.org/packages/tags ). I see that there is no even "grammar" tag, so I don't see any point in adding tag "ambiguous grammar" or something similar. Still, I suggest editing description to include something like "This library can check grammar for ambiguity". ( http://hackage.haskell.org/packages/search looks at descriptions, too.)

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

2 participants