this repo has no description
1opam-version: "2.0"
2synopsis:
3 "Random text generator that takes context-free grammars from BNF files"
4description: """\
5BNFGen generates random texts based on user-defined context-free grammars
6specified in a BNF-like syntax. There are descriptive syntax error messages
7and tracing options.
8
9You can specify "weight" for rules with alternation to influence their probabilities.
10For example, in `<foo> ::= 10 <foo> "foo" | "foo";` the first (recursive) option will be
11taken ten times more often.
12
13You can also specify deterministic repetition ranges, like `<foo>{4}` (exactly four of `<foo>`)
14or `<foo>{1,5}` (from one to five of `<foo>`).
15
16This package includes both a library and a CLI tool based on it."""
17maintainer: "Daniil Baturin <daniil@baturin.org>"
18authors: "Daniil Baturin <daniil@baturin.org>"
19license: "MIT"
20homepage: "https://baturin.org/tools/bnfgen"
21bug-reports: "https://github.com/dmbaturin/bnfgen/issues"
22depends: [
23 "ocaml" {>= "4.08"}
24 "menhir" {>= "20180523"}
25 "dune" {>= "1.9.0"}
26]
27build: [
28 ["dune" "subst"] {dev}
29 ["dune" "build" "-p" name "-j" jobs]
30]
31dev-repo: "git+https://github.com/dmbaturin/bnfgen"
32url {
33 src: "https://github.com/dmbaturin/bnfgen/archive/3.0.0.tar.gz"
34 checksum: [
35 "md5=f7e8200ca86a83f188d14e27644ff4a9"
36 "sha512=0606e3669cec06eb5d807b126d429346f1df7682811a3ea396b7540eaf0f8fbed4b56259089adacd848ad4d5b0a394f71aec52a34e4054d7ab2a914b065fba5d"
37 ]
38}