opam-version: "2.0"
maintainer: "sylvain.pogodalla@inria.fr"

build: [
  ["dune" "subst"] {pinned}
# remove the -p to also build the local libraries: conflict with the
# fact that some libraries are also part of the acgtkLib package
#  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "build" "--profile=release" "-j" jobs]
]

install: ["dune" "install"]

depends: [
  "ocaml" { >= "4.05.0" }
  "dune" { >= "1.0" }
  "menhir" {< "20201122"}
  "ANSITerminal"
  "fmt"
  "logs"
  "mtime"
  "cmdliner"
  "cairo2"
  "yojson"
  "easy-format"
]

dev-repo: "git+https://gitlab.inria.fr/ACG/dev/ACGtk.git"

homepage: "http://acg.loria.fr/"
license: "CeCILL-1.0+"
authors: ["Sylvain Pogodalla"]
bug-reports: "sylvain.pogodalla@inria.fr"

synopsis: "Abstract Categorial Grammar development toolkit"

description: "This toolkit provides a compiler and an interpreter for Abstract Categorial Grammars (ACGs). Grammars can be compiled and then used by the interpreter to parse (if the grammar is at most second-order) or to generate terms. See http://acg.loria.fr for more details and bibliographic references."

url {
     src: "http://acg.loria.fr/software/acg-1.5.1-20191113.tar.gz"
     checksum: "md5=3b68aa337fad7b810d110955247c48a9"
}
