···11+opam-version: "2.0"
22+synopsis:
33+ "Random text generator that takes context-free grammars from BNF files"
44+description: """\
55+BNFGen generates random texts based on user-defined context-free grammars
66+specified in a BNF-like syntax. There are descriptive syntax error messages
77+and tracing options.
88+99+You can specify "weight" for rules with alternation to influence their probabilities.
1010+For example, in `<foo> ::= 10 <foo> "foo" | "foo";` the first (recursive) option will be
1111+taken ten times more often.
1212+1313+You can also specify deterministic repetition ranges, like `<foo>{4}` (exactly four of `<foo>`)
1414+or `<foo>{1,5}` (from one to five of `<foo>`).
1515+1616+This package includes both a library and a CLI tool based on it."""
1717+maintainer: "Daniil Baturin <daniil@baturin.org>"
1818+authors: "Daniil Baturin <daniil@baturin.org>"
1919+license: "MIT"
2020+homepage: "https://baturin.org/tools/bnfgen"
2121+bug-reports: "https://github.com/dmbaturin/bnfgen/issues"
2222+depends: [
2323+ "ocaml" {>= "4.08"}
2424+ "menhir" {>= "20211128"}
2525+ "dune" {>= "1.9.0"}
2626+]
2727+build: [
2828+ ["dune" "subst"] {dev}
2929+ ["dune" "build" "-p" name "-j" jobs]
3030+]
3131+dev-repo: "git+https://github.com/dmbaturin/bnfgen"
3232+url {
3333+ src: "https://github.com/dmbaturin/bnfgen/archive/3.1.0.tar.gz"
3434+ checksum: [
3535+ "md5=e9e9fdd121dd2d4a188dc1ac03089c82"
3636+ "sha512=069ad2497ac2f6f180d853ef7cb85084a6be3d94df5e7f72496eae9e41e81120c95dc392c20d8b4428698519d921a7ddbc2a18df8093dc698ef11b772e0c66cb"
3737+ ]
3838+}