-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc1dc13
commit efa2ae6
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
opam-version: "2.0" | ||
maintainer: "Jane Street developers" | ||
authors: ["Jane Street Group, LLC"] | ||
homepage: "https://github.com/janestreet/parsexp" | ||
bug-reports: "https://github.com/janestreet/parsexp/issues" | ||
dev-repo: "git+https://github.com/janestreet/parsexp.git" | ||
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/parsexp/index.html" | ||
license: "MIT" | ||
build: [ | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
depends: [ | ||
"ocaml" {>= "4.04.2"} | ||
"base" {>= "v0.14" & < "v0.15"} | ||
"sexplib0" {>= "v0.14" & < "v0.15"} | ||
"dune" {>= "2.0.0"} | ||
] | ||
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://github.com/janestreet/parsexp/archive/refs/tags/v0.14.1.tar.gz" | ||
checksum: "e6659d53f4d94de8979e05d17222b753" | ||
} |