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

add feature to import [e]bnf grammars #6

Open
d0c-s4vage opened this issue Dec 15, 2016 · 1 comment
Open

add feature to import [e]bnf grammars #6

d0c-s4vage opened this issue Dec 15, 2016 · 1 comment
Assignees

Comments

@d0c-s4vage
Copy link
Owner

d0c-s4vage commented Dec 15, 2016

gramfuzz should have a method analogous to the load_grammar method that will parse a grammar file and create analogous gramfuzz structures in memory. Maybe something like:

fuzzer.import_grammar("path/to/test_grammar.bnf", type="bnf")

Both ebnf and bnf grammars should be allowed.

aside it may be cool (not sure how useful really though) to export grammar rules from memory into a file as well.

@d0c-s4vage
Copy link
Owner Author

This would be fantastic - bumping this one up

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

No branches or pull requests

1 participant