···
2
+
maintainer: "Jane Street developers"
3
+
authors: ["Jane Street Group, LLC"]
4
+
homepage: "https://github.com/janestreet/parsexp"
5
+
bug-reports: "https://github.com/janestreet/parsexp/issues"
6
+
dev-repo: "git+https://github.com/janestreet/parsexp.git"
7
+
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/parsexp/index.html"
10
+
["dune" "build" "-p" name "-j" jobs]
13
+
"ocaml" {>= "4.04.2"}
14
+
"base" {>= "v0.14" & < "v0.15"}
15
+
"sexplib0" {>= "v0.14" & < "v0.15"}
18
+
synopsis: "S-expression parsing library"
20
+
This library provides generic parsers for parsing S-expressions from
21
+
strings or other medium.
23
+
The library is focused on performances but still provide full generic
24
+
parsers that can be used with strings, bigstrings, lexing buffers,
25
+
character streams or any other sources effortlessly.
27
+
It provides three different class of parsers:
28
+
- the normal parsers, producing [Sexp.t] or [Sexp.t list] values
29
+
- the parsers with positions, building compact position sequences so
30
+
that one can recover original positions in order to report properly
31
+
located errors at little cost
32
+
- the Concrete Syntax Tree parsers, produce values of type
33
+
[Parsexp.Cst.t] which record the concrete layout of the s-expression
34
+
syntax, including comments
36
+
This library is portable and doesn't provide IO functions. To read
37
+
s-expressions from files or other external sources, you should use
41
+
src: "https://github.com/janestreet/parsexp/archive/refs/tags/v0.14.2.tar.gz"
42
+
checksum: "sha256=f6e17e4e08dcdce08a6372485a381dcdb3fda0f71b4506d7be982b87b5a1f230"