opam-version: "2.0"
maintainer: "gabe@fb.com"
authors: [
  "Avik Chaudhuri"
  "Basil Hosmer"
  "Gabe Levi"
  "Jeff Morrison"
  "Marshall Roch"
  "Sam Goldman"
  "James Kyle"
]
homepage: "https://github.com/facebook/flow/tree/master/src/parser"
bug-reports: "https://github.com/facebook/flow/issues"
license: "BSD-3-Clause"

install: [ make "-C" "src/parser" "ocamlfind-install"]
depends: [
  "ocaml" {>= "4.01.0" & < "4.06.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
]
dev-repo: "git+https://github.com/facebook/flow.git"
synopsis:
  "The Flow parser is a JavaScript parser written in OCaml. It produces an AST"
description: """
that conforms to SpiderMonkey's Parser API and that mostly matches what esprima
produces. The Flow Parser can be compiled to native code or can be compiled to
JavaScript using js_of_ocaml.

To find out more about Flow, check out <http://flowtype.org>."""
url {
  src: "https://github.com/facebook/flow/archive/v0.42.0.tar.gz"
  checksum: "md5=e75b34445e18ad54b72326973f4f85be"
}
