···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/refs/tags/4.0.0.tar.gz"
3434+ checksum: [
3535+ "md5=0caf99c1e3293bb7c3e72a7fb3f78fd7"
3636+ "sha512=4e8e4f87531b0e295e4f8c095745d4395a9ed487fff3133d4d493f9d8b8ea7e470dde44639b0891c5e1fca71cde4585500db57cbb710d5d5220e1ef7a7f98b74"
3737+ ]
3838+}
3939+x-maintenance-intent: ["(latest)"]