opam-version: "2.0"
synopsis:
  "An implementation of the Pratt parsing algorithm for first order terms"
description: """
Pratter is a library that provides a parser that transforms
streams of terms to applied terms.  Terms may contain infix or prefix operators
and native applications.  The parser is an extension of the Pratt parsing
algorithm."""
maintainer: ["leirbag@sdfeu.org"]
authors: ["Gabriel Hondet"]
license: "BSD-3-Clause"
homepage: "https://github.com/gabrielhdt/pratter"
bug-reports: "https://github.com/gabrielhdt/pratter/issues"
depends: [
  "ocaml" {>= "4.05"}
  "dune" {>= "2.7"}
  "alcotest" {with-test}
  "odoc" {with-doc}
]
build: [
  ["dune" "subst"] {dev}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/gabrielhdt/pratter.git"
x-commit-hash: "7d97052d113f67d68d2476e71d254c2fa061e69f"
url {
  src:
    "https://github.com/gabrielhdt/pratter/releases/download/v0.1.1/pratter-v0.1.1.tbz"
  checksum: [
    "sha256=bc66d56e1756caca42d4d324c0f2ebae9710615116258e660642694d841d4a16"
    "sha512=9af84dea4efbce4d9c1cb11181487043b65d2b408247c221e4d6728d7c60f2a8f8d8605f968b989ed40c1506d4d6d7254b888038b633839674fa8f1bf3435e7b"
  ]
}
