opam-version: "2.0"
maintainer: "sudo-woodo3@protonmail.com"
authors: ["Alessandro Cheli"]
homepage: "https://github.com/0x0f0f0f/gobba"
bug-reports: "https://github.com/0x0f0f0f/gobba/issues"
dev-repo: "git+https://github.com/0x0f0f0f/gobba.git"
license: "MIT"
synopsis: "A simple, didactical, purely functional programming language"
description: "A simple, didactical, purely functional programming language written for the programming 2 course at the University of Pisa, extended with a simple parser made with Menhir and ocamllex"
doc: "https://0x0f0f0f.github.io/gobba"

build: [
  ["dune" "subst"] {dev}
  ["dune" "build" "-p" name "-j" jobs]
  ["sh" "-c" "GOBBA_EXAMPLES=$(realpath ./examples/) dune runtest -p %{name}% -j %{jobs}%"] {with-test}
]

depends: [
    "dune" {>= "2.0"}
    "ocaml" {>= "4.07.0"}
    "ANSITerminal"
    "ocamline" {>= "1.2"}
    "linenoise" {>= "1.3.0"}
    "menhir"
    "ppx_deriving"
    "cmdliner"
    "owl"
    "owl-base"
    "alcotest" {with-test & >= "0.8.5"}
    "bisect_ppx" {>= "1.4.1" & < "2.6.0"}
]
url {
  src: "https://github.com/0x0f0f0f/gobba/archive/0.4.2.tar.gz"
  checksum: [
    "md5=ebd91da495014a6d0a34de40245ab5a6"
    "sha512=7a5875fff15e8997d9c2db6c3a898c15f9ce144c5b4fce1d57f0c6127eb63d6780458e2fe5e90048fa81ceadd67676de4ccfc3723b2c5fbfe528d68c3b91d842"
  ]
}
