opam-version: "2.0"
synopsis: "Random text generator that takes context-free grammars from BNF files"
description: """
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.
"""
maintainer: "Daniil Baturin <daniil@baturin.org>"
authors: "Daniil Baturin <daniil@baturin.org>"
license: "MIT"
homepage: "https://github.com/dmbaturin/bnfgen"
bug-reports: "https://github.com/dmbaturin/bnfgen/issues"
dev-repo: "git+https://github.com/dmbaturin/bnfgen"
build: [
  ["dune" "subst"] {pinned}
  ["dune" "build" "-p" name]
]
depends: [
  "menhir" {build}
  "dune" {>= "1.4.0"}
]
url {
  src: "https://github.com/dmbaturin/bnfgen/archive/2.0.tar.gz"
  checksum: [
    "md5=efb520633eac4197509ddc9e020c53a9"
    "sha512=840be6c7bb98590457aa9fd64593eb5995a5ae9d77cb4a883cb2f5ff65008de5dd29f3b2d86a746d5edafb7c449b0223a7c82d6ec1a3209c98c9430609e117a7"
  ]
}
