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"

build: [ make "-C" "src/parser" "build-parser" ]
install: [ make "-C" "src/parser" "ocamlfind-install"]
depends: [
  "ocaml" {>= "4.03.0" & < "4.08.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "sedlex" {< "2.0"}
]
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.46.0.tar.gz"
  checksum: "md5=da2357595a8ee443fa40346e2171b1e9"
}
