Open d0c-s4vage opened 7 years ago
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:
load_grammar
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.
This would be fantastic - bumping this one up
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: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.