bnfgenversion

Random text generator that takes context-free grammars from BNF files

BNFGen generates random texts based on user-defined context-free grammars specified in a BNF-like syntax. You can specify "weight" for rules with alternation to change the probabilities, for example, in <foo> ::= 10 <foo> "foo" | "foo"; the recursive option will be ten times more likely to be taken.

AuthorDaniil Baturin <daniil@baturin.org>
LicenseMIT
Published
Homepagehttps://github.com/dmbaturin/bnfgen
Issue Trackerhttps://github.com/dmbaturin/bnfgen/issues
MaintainerDaniil Baturin <daniil@baturin.org>
Dependencies
Source [http] https://github.com/dmbaturin/bnfgen/archive/2.0.tar.gz
md5=efb520633eac4197509ddc9e020c53a9
sha512=840be6c7bb98590457aa9fd64593eb5995a5ae9d77cb4a883cb2f5ff65008de5dd29f3b2d86a746d5edafb7c449b0223a7c82d6ec1a3209c98c9430609e117a7
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/bnfgen/bnfgen.2.0/opam
Required by