-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
30 lines (30 loc) · 1.08 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"] {dev}
["dune" "build" "-p" name]
]
depends: [
"menhir" {build & >= "20180523"}
"dune" {>= "1.9"}
]
url {
src: "https://github.com/dmbaturin/bnfgen/archive/2.0.tar.gz"
checksum: [
"md5=efb520633eac4197509ddc9e020c53a9"
"sha512=840be6c7bb98590457aa9fd64593eb5995a5ae9d77cb4a883cb2f5ff65008de5dd29f3b2d86a746d5edafb7c449b0223a7c82d6ec1a3209c98c9430609e117a7"
]
}