You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.5 KiB
42 lines
1.5 KiB
![]()
6 years ago
|
opam-version: "2.0"
|
||
|
maintainer: "opensource@janestreet.com"
|
||
|
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
||
|
homepage: "https://github.com/janestreet/parsexp"
|
||
|
bug-reports: "https://github.com/janestreet/parsexp/issues"
|
||
|
dev-repo: "git+https://github.com/janestreet/parsexp.git"
|
||
|
license: "Apache-2.0"
|
||
|
build: [
|
||
|
["jbuilder" "build" "-p" name "-j" jobs]
|
||
|
]
|
||
|
depends: [
|
||
|
"ocaml" {>= "4.04.1"}
|
||
|
"sexplib0" {>= "v0.11" & < "v0.12"}
|
||
|
"jbuilder" {build & >= "1.0+beta18.1"}
|
||
|
]
|
||
|
synopsis: "S-expression parsing library"
|
||
|
description: """
|
||
|
This library provides generic parsers for parsing S-expressions from
|
||
|
strings or other medium.
|
||
|
|
||
|
The library is focused on performances but still provide full generic
|
||
|
parsers that can be used with strings, bigstrings, lexing buffers,
|
||
|
character streams or any other sources effortlessly.
|
||
|
|
||
|
It provides three different class of parsers:
|
||
|
- the normal parsers, producing [Sexp.t] or [Sexp.t list] values
|
||
|
- the parsers with positions, building compact position sequences so
|
||
|
that one can recover original positions in order to report properly
|
||
|
located errors at little cost
|
||
|
- the Concrete Syntax Tree parsers, produce values of type
|
||
|
[Parsexp.Cst.t] which record the concrete layout of the s-expression
|
||
|
syntax, including comments
|
||
|
|
||
|
This library is portable and doesn't provide IO functions. To read
|
||
|
s-expressions from files or other external sources, you should use
|
||
|
parsexp_io."""
|
||
|
url {
|
||
|
src:
|
||
|
"https://ocaml.janestreet.com/ocaml-core/v0.11/files/parsexp-v0.11.0.tar.gz"
|
||
|
checksum: "md5=816fce8d14b71a379296577c803bdbca"
|
||
|
}
|