@greenlabs/ppx-spice 0.1.8 → 0.1.9-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +4 -0
- package/docs/GUIDE.md +139 -0
- package/package.json +1 -1
- package/ppx-windows.exe +0 -0
- package/.github/workflows/build_linux.yml +0 -41
- package/.github/workflows/build_macos.yml +0 -41
- package/.github/workflows/build_windows.yml +0 -41
- package/.github/workflows/print_esy_cache.js +0 -13
- package/.github/workflows/publish.yml +0 -161
- package/.github/workflows/publish_prerelease.yml +0 -177
- package/.vscode/settings.json +0 -6
- package/src/.ocamlformat +0 -0
- package/src/bin/bin.ml +0 -1
- package/src/bin/dune +0 -5
- package/src/dune +0 -1
- package/src/dune-project +0 -2
- package/src/dune-workspace +0 -3
- package/src/esy.lock/.gitattributes +0 -3
- package/src/esy.lock/.gitignore +0 -3
- package/src/esy.lock/index.json +0 -1196
- package/src/esy.lock/opam/astring.0.8.5/opam +0 -37
- package/src/esy.lock/opam/base-bytes.base/opam +0 -9
- package/src/esy.lock/opam/base-threads.base/opam +0 -6
- package/src/esy.lock/opam/base-unix.base/opam +0 -6
- package/src/esy.lock/opam/base.v0.14.1/opam +0 -36
- package/src/esy.lock/opam/biniou.1.2.1/opam +0 -45
- package/src/esy.lock/opam/cmdliner.1.0.4/opam +0 -36
- package/src/esy.lock/opam/cppo.1.6.8/opam +0 -37
- package/src/esy.lock/opam/csexp.1.5.1/opam +0 -60
- package/src/esy.lock/opam/dot-merlin-reader.4.1/opam +0 -30
- package/src/esy.lock/opam/dune-build-info.2.9.1/opam +0 -42
- package/src/esy.lock/opam/dune-configurator.2.9.1/opam +0 -47
- package/src/esy.lock/opam/dune.2.9.1/opam +0 -58
- package/src/esy.lock/opam/easy-format.1.3.2/opam +0 -46
- package/src/esy.lock/opam/fix.20201120/opam +0 -24
- package/src/esy.lock/opam/fpath.0.7.3/opam +0 -36
- package/src/esy.lock/opam/menhir.20211012/opam +0 -28
- package/src/esy.lock/opam/menhirLib.20211012/opam +0 -29
- package/src/esy.lock/opam/menhirSdk.20211012/opam +0 -29
- package/src/esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam +0 -39
- package/src/esy.lock/opam/ocaml-lsp-server.1.8.3/opam +0 -54
- package/src/esy.lock/opam/ocamlbuild.0.14.0/opam +0 -36
- package/src/esy.lock/opam/ocamlfind.1.9.1/opam +0 -44
- package/src/esy.lock/opam/ocamlformat-rpc-lib.0.18.0/opam +0 -40
- package/src/esy.lock/opam/ocamlformat.0.19.0/opam +0 -55
- package/src/esy.lock/opam/ocp-indent.1.8.1/opam +0 -57
- package/src/esy.lock/opam/odoc-parser.0.9.0/opam +0 -45
- package/src/esy.lock/opam/pp.1.1.2/opam +0 -58
- package/src/esy.lock/opam/ppx_derivers.1.2.1/opam +0 -23
- package/src/esy.lock/opam/ppx_yojson_conv_lib.v0.14.0/opam +0 -24
- package/src/esy.lock/opam/ppxlib.0.23.0/opam +0 -62
- package/src/esy.lock/opam/re.1.10.3/opam +0 -46
- package/src/esy.lock/opam/result.1.5/opam +0 -22
- package/src/esy.lock/opam/seq.base/files/META.seq +0 -4
- package/src/esy.lock/opam/seq.base/files/seq.install +0 -3
- package/src/esy.lock/opam/seq.base/opam +0 -15
- package/src/esy.lock/opam/sexplib0.v0.14.0/opam +0 -26
- package/src/esy.lock/opam/stdio.v0.14.0/opam +0 -27
- package/src/esy.lock/opam/stdlib-shims.0.3.0/opam +0 -31
- package/src/esy.lock/opam/topkg.1.0.4/opam +0 -44
- package/src/esy.lock/opam/uchar.0.0.2/opam +0 -36
- package/src/esy.lock/opam/uucp.14.0.0/opam +0 -41
- package/src/esy.lock/opam/uuseg.14.0.0/opam +0 -43
- package/src/esy.lock/opam/uutf.1.0.2/opam +0 -40
- package/src/esy.lock/opam/yojson.1.7.0/opam +0 -38
- package/src/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.0_opam_override/files/ocamlbuild-0.14.0.patch +0 -463
- package/src/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.0_opam_override/package.json +0 -27
- package/src/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.1_opam_override/files/findlib-1.9.1.patch +0 -471
- package/src/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.1_opam_override/package.json +0 -61
- package/src/ppx/codecs.ml +0 -120
- package/src/ppx/decode_cases.ml +0 -18
- package/src/ppx/dune +0 -9
- package/src/ppx/polyvariants.ml +0 -288
- package/src/ppx/ppx_spice.ml +0 -19
- package/src/ppx/records.ml +0 -163
- package/src/ppx/signature.ml +0 -86
- package/src/ppx/structure.ml +0 -109
- package/src/ppx/tuple.ml +0 -68
- package/src/ppx/utils.ml +0 -117
- package/src/ppx/variants.ml +0 -257
- package/src/ppx_spice.opam +0 -21
- package/test/__tests__/test_optional_field_records.js +0 -91
- package/test/__tests__/test_optional_field_records.res +0 -98
- package/test/__tests__/test_polyvariants.js +0 -57
- package/test/__tests__/test_polyvariants.res +0 -41
- package/test/__tests__/test_records.js +0 -100
- package/test/__tests__/test_records.res +0 -111
- package/test/__tests__/test_variants.js +0 -85
- package/test/__tests__/test_variants.res +0 -63
- package/test/bsconfig.json +0 -27
- package/test/package.json +0 -18
- package/test/src/OptionalFieldRecords.js +0 -237
- package/test/src/OptionalFieldRecords.res +0 -23
- package/test/src/Polyvariants.js +0 -94
- package/test/src/Polyvariants.res +0 -5
- package/test/src/Polyvariants.resi +0 -5
- package/test/src/Records.js +0 -186
- package/test/src/Records.res +0 -17
- package/test/src/Records.resi +0 -17
- package/test/src/Spice.js +0 -448
- package/test/src/Spice_Codecs.js +0 -57
- package/test/src/Variants.js +0 -115
- package/test/src/Variants.res +0 -11
- package/test/src/Variants.resi +0 -11
- package/test/yarn.lock +0 -4194
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "OCaml compiler libraries repackaged"
|
|
3
|
-
description: """
|
|
4
|
-
This packages exposes the OCaml compiler libraries repackages under
|
|
5
|
-
the toplevel names Ocaml_common, Ocaml_bytecomp, Ocaml_optcomp, ..."""
|
|
6
|
-
maintainer: ["Jane Street developers"]
|
|
7
|
-
authors: ["Jane Street Group, LLC"]
|
|
8
|
-
license: "MIT"
|
|
9
|
-
homepage: "https://github.com/janestreet/ocaml-compiler-libs"
|
|
10
|
-
bug-reports: "https://github.com/janestreet/ocaml-compiler-libs/issues"
|
|
11
|
-
depends: [
|
|
12
|
-
"dune" {>= "2.8"}
|
|
13
|
-
"ocaml" {>= "4.04.1"}
|
|
14
|
-
"odoc" {with-doc}
|
|
15
|
-
]
|
|
16
|
-
build: [
|
|
17
|
-
["dune" "subst"] {dev}
|
|
18
|
-
[
|
|
19
|
-
"dune"
|
|
20
|
-
"build"
|
|
21
|
-
"-p"
|
|
22
|
-
name
|
|
23
|
-
"-j"
|
|
24
|
-
jobs
|
|
25
|
-
"@install"
|
|
26
|
-
"@runtest" {with-test}
|
|
27
|
-
"@doc" {with-doc}
|
|
28
|
-
]
|
|
29
|
-
]
|
|
30
|
-
dev-repo: "git+https://github.com/janestreet/ocaml-compiler-libs.git"
|
|
31
|
-
url {
|
|
32
|
-
src:
|
|
33
|
-
"https://github.com/janestreet/ocaml-compiler-libs/releases/download/v0.12.4/ocaml-compiler-libs-v0.12.4.tbz"
|
|
34
|
-
checksum: [
|
|
35
|
-
"sha256=4ec9c9ec35cc45c18c7a143761154ef1d7663036a29297f80381f47981a07760"
|
|
36
|
-
"sha512=978dba8dfa61f98fa24fda7a9c26c2e837081f37d1685fe636dc19cfc3278a940cf01a10293504b185c406706bc1008bc54313d50f023bcdea6d5ac6c0788b35"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
x-commit-hash: "8cd12f18bb7171c2b67d661868c4271fae528d93"
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "LSP Server for OCaml"
|
|
3
|
-
description: "An LSP server for OCaml."
|
|
4
|
-
maintainer: ["Rudi Grinberg <me@rgrinerg.com>"]
|
|
5
|
-
authors: [
|
|
6
|
-
"Andrey Popp <8mayday@gmail.com>"
|
|
7
|
-
"Rusty Key <iam@stfoo.ru>"
|
|
8
|
-
"Louis Roché <louis@louisroche.net>"
|
|
9
|
-
"Oleksiy Golovko <alexei.golovko@gmail.com>"
|
|
10
|
-
"Rudi Grinberg <me@rgrinberg.com>"
|
|
11
|
-
"Sacha Ayoun <sachaayoun@gmail.com>"
|
|
12
|
-
"cannorin <cannorin@gmail.com>"
|
|
13
|
-
"Ulugbek Abdullaev <ulugbekna@gmail.com>"
|
|
14
|
-
"Thibaut Mattio <thibaut.mattio@gmail.com>"
|
|
15
|
-
"Max Lantas <mnxndev@outlook.com>"
|
|
16
|
-
]
|
|
17
|
-
license: "ISC"
|
|
18
|
-
homepage: "https://github.com/ocaml/ocaml-lsp"
|
|
19
|
-
bug-reports: "https://github.com/ocaml/ocaml-lsp/issues"
|
|
20
|
-
depends: [
|
|
21
|
-
"dune" {>= "2.9"}
|
|
22
|
-
"yojson"
|
|
23
|
-
"re" {>= "1.5.0"}
|
|
24
|
-
"ppx_yojson_conv_lib" {>= "v0.14"}
|
|
25
|
-
"dune-build-info"
|
|
26
|
-
"dot-merlin-reader"
|
|
27
|
-
"pp" {>= "1.1.2"}
|
|
28
|
-
"csexp" {>= "1.5"}
|
|
29
|
-
"result" {>= "1.5"}
|
|
30
|
-
"ocamlformat-rpc-lib" {>= "0.18.0" & < "0.19.0"}
|
|
31
|
-
"odoc" {with-doc}
|
|
32
|
-
"ocaml" {>= "4.12" & < "4.13"}
|
|
33
|
-
]
|
|
34
|
-
dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git"
|
|
35
|
-
build: [
|
|
36
|
-
["dune" "subst"] {dev}
|
|
37
|
-
[
|
|
38
|
-
"dune"
|
|
39
|
-
"build"
|
|
40
|
-
"-j"
|
|
41
|
-
jobs
|
|
42
|
-
"ocaml-lsp-server.install"
|
|
43
|
-
"--release"
|
|
44
|
-
]
|
|
45
|
-
]
|
|
46
|
-
url {
|
|
47
|
-
src:
|
|
48
|
-
"https://github.com/ocaml/ocaml-lsp/releases/download/1.8.3/jsonrpc-1.8.3.tbz"
|
|
49
|
-
checksum: [
|
|
50
|
-
"sha256=58ef5aa7bf176712428b4e0b1015feaf6d677cbd9474f8822d132b25223b14e9"
|
|
51
|
-
"sha512=a368e3bc25eb6608110bd84b87142b6829a32182b61c336ad5faad597932e3c3db806a8043f52b234f2a05cc6ee88230267121fda81fff35c552cbb47ba895ab"
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
x-commit-hash: "7bf6200c165b5959e49651c84093d61a64cf705d"
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "Gabriel Scherer <gabriel.scherer@gmail.com>"
|
|
3
|
-
authors: ["Nicolas Pouillard" "Berke Durak"]
|
|
4
|
-
homepage: "https://github.com/ocaml/ocamlbuild/"
|
|
5
|
-
bug-reports: "https://github.com/ocaml/ocamlbuild/issues"
|
|
6
|
-
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
|
|
7
|
-
doc: "https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc"
|
|
8
|
-
dev-repo: "git+https://github.com/ocaml/ocamlbuild.git"
|
|
9
|
-
build: [
|
|
10
|
-
[
|
|
11
|
-
make
|
|
12
|
-
"-f"
|
|
13
|
-
"configure.make"
|
|
14
|
-
"all"
|
|
15
|
-
"OCAMLBUILD_PREFIX=%{prefix}%"
|
|
16
|
-
"OCAMLBUILD_BINDIR=%{bin}%"
|
|
17
|
-
"OCAMLBUILD_LIBDIR=%{lib}%"
|
|
18
|
-
"OCAMLBUILD_MANDIR=%{man}%"
|
|
19
|
-
"OCAML_NATIVE=%{ocaml:native}%"
|
|
20
|
-
"OCAML_NATIVE_TOOLS=%{ocaml:native}%"
|
|
21
|
-
]
|
|
22
|
-
[make "check-if-preinstalled" "all" "opam-install"]
|
|
23
|
-
]
|
|
24
|
-
conflicts: [
|
|
25
|
-
"base-ocamlbuild"
|
|
26
|
-
"ocamlfind" {< "1.6.2"}
|
|
27
|
-
]
|
|
28
|
-
synopsis:
|
|
29
|
-
"OCamlbuild is a build system with builtin rules to easily build most OCaml projects."
|
|
30
|
-
depends: [
|
|
31
|
-
"ocaml" {>= "4.03"}
|
|
32
|
-
]
|
|
33
|
-
url {
|
|
34
|
-
src: "https://github.com/ocaml/ocamlbuild/archive/0.14.0.tar.gz"
|
|
35
|
-
checksum: "sha256=87b29ce96958096c0a1a8eeafeb6268077b2d11e1bf2b3de0f5ebc9cf8d42e78"
|
|
36
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "A library manager for OCaml"
|
|
3
|
-
description: """
|
|
4
|
-
Findlib is a library manager for OCaml. It provides a convention how
|
|
5
|
-
to store libraries, and a file format ("META") to describe the
|
|
6
|
-
properties of libraries. There is also a tool (ocamlfind) for
|
|
7
|
-
interpreting the META files, so that it is very easy to use libraries
|
|
8
|
-
in programs and scripts.
|
|
9
|
-
"""
|
|
10
|
-
license: "MIT"
|
|
11
|
-
maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
|
|
12
|
-
authors: "Gerd Stolpmann <gerd@gerd-stolpmann.de>"
|
|
13
|
-
homepage: "http://projects.camlcity.org/projects/findlib.html"
|
|
14
|
-
bug-reports: "https://github.com/ocaml/ocamlfind/issues"
|
|
15
|
-
depends: [
|
|
16
|
-
"ocaml" {>= "4.00.0"}
|
|
17
|
-
]
|
|
18
|
-
depopts: ["graphics"]
|
|
19
|
-
build: [
|
|
20
|
-
[
|
|
21
|
-
"./configure"
|
|
22
|
-
"-bindir" bin
|
|
23
|
-
"-sitelib" lib
|
|
24
|
-
"-mandir" man
|
|
25
|
-
"-config" "%{lib}%/findlib.conf"
|
|
26
|
-
"-no-custom"
|
|
27
|
-
"-no-camlp4" {!ocaml:preinstalled & ocaml:version >= "4.02.0"}
|
|
28
|
-
"-no-topfind" {ocaml:preinstalled}
|
|
29
|
-
]
|
|
30
|
-
[make "all"]
|
|
31
|
-
[make "opt"] {ocaml:native}
|
|
32
|
-
]
|
|
33
|
-
install: [
|
|
34
|
-
[make "install"]
|
|
35
|
-
["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {ocaml:preinstalled}
|
|
36
|
-
]
|
|
37
|
-
dev-repo: "git+https://github.com/ocaml/ocamlfind.git"
|
|
38
|
-
url {
|
|
39
|
-
src: "http://download.camlcity.org/download/findlib-1.9.1.tar.gz"
|
|
40
|
-
checksum: [
|
|
41
|
-
"md5=65e6dc9b305ccbed1267275fe180f538"
|
|
42
|
-
"sha512=83a05f3e310fa7cabb0475c5525f7a87c1b6bc2dc5e39f094cabfb5d944a826a5581844ba00ec1a48dd96184eb9de3c4d1055cdddee2b83c700a2de5a6dc6f84"
|
|
43
|
-
]
|
|
44
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Auto-formatter for OCaml code (RPC mode)"
|
|
3
|
-
description:
|
|
4
|
-
"OCamlFormat is a tool to automatically format OCaml code in a uniform style. This package defines a RPC interface to OCamlFormat"
|
|
5
|
-
maintainer: ["OCamlFormat Team <ocamlformat-dev@lists.ocaml.org>"]
|
|
6
|
-
authors: ["Josh Berdine <jjb@fb.com>"]
|
|
7
|
-
license: "MIT"
|
|
8
|
-
homepage: "https://github.com/ocaml-ppx/ocamlformat"
|
|
9
|
-
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
|
|
10
|
-
depends: [
|
|
11
|
-
"dune" {>= "2.8"}
|
|
12
|
-
"ocaml" {>= "4.08" & < "4.13"}
|
|
13
|
-
"csexp"
|
|
14
|
-
"sexplib0"
|
|
15
|
-
"odoc" {with-doc}
|
|
16
|
-
]
|
|
17
|
-
build: [
|
|
18
|
-
["dune" "subst"] {dev}
|
|
19
|
-
[
|
|
20
|
-
"dune"
|
|
21
|
-
"build"
|
|
22
|
-
"-p"
|
|
23
|
-
name
|
|
24
|
-
"-j"
|
|
25
|
-
jobs
|
|
26
|
-
"@install"
|
|
27
|
-
"@runtest" {with-test}
|
|
28
|
-
"@doc" {with-doc}
|
|
29
|
-
]
|
|
30
|
-
]
|
|
31
|
-
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
|
|
32
|
-
x-commit-hash: "3697f0f92854a681fd1156fe4f6fb97d060da1d8"
|
|
33
|
-
url {
|
|
34
|
-
src:
|
|
35
|
-
"https://github.com/ocaml-ppx/ocamlformat/releases/download/0.18.0/ocamlformat-0.18.0.tbz"
|
|
36
|
-
checksum: [
|
|
37
|
-
"sha256=981a44296485da6ca29ab2cd8c711270398e5e1d1624408ec403c0b0ea9fe114"
|
|
38
|
-
"sha512=d1cbd63e4b82ff2e9ec0c96a9305704d3eea3e978c703ef9d1244853d8aaea912ad9f934379eeddfc1a0468b1cb1c2dc39ecf452189f2a35fa1ae53aec10b277"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Auto-formatter for OCaml code"
|
|
3
|
-
description:
|
|
4
|
-
"OCamlFormat is a tool to automatically format OCaml code in a uniform style."
|
|
5
|
-
maintainer: ["OCamlFormat Team <ocamlformat-dev@lists.ocaml.org>"]
|
|
6
|
-
authors: ["Josh Berdine <jjb@fb.com>"]
|
|
7
|
-
license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"] # OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license
|
|
8
|
-
homepage: "https://github.com/ocaml-ppx/ocamlformat"
|
|
9
|
-
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
|
|
10
|
-
depends: [
|
|
11
|
-
"dune" {>= "2.8"}
|
|
12
|
-
"ocaml" {>= "4.08" & < "4.14"}
|
|
13
|
-
"alcotest" {with-test}
|
|
14
|
-
"base" {>= "v0.12.0" & < "v0.15"}
|
|
15
|
-
"base-unix"
|
|
16
|
-
"cmdliner"
|
|
17
|
-
"dune-build-info"
|
|
18
|
-
"fix"
|
|
19
|
-
"fpath"
|
|
20
|
-
"menhir" {>= "20201216"}
|
|
21
|
-
"menhirLib" {>= "20201216"}
|
|
22
|
-
"menhirSdk" {>= "20201216"}
|
|
23
|
-
"ocp-indent"
|
|
24
|
-
"bisect_ppx" {dev & >= "2.5.0"}
|
|
25
|
-
"odoc-parser" {>= "0.9.0"}
|
|
26
|
-
"re" {>= "1.7.2"}
|
|
27
|
-
"stdio" {< "v0.15"}
|
|
28
|
-
"uuseg" {>= "10.0.0"}
|
|
29
|
-
"uutf" {>= "1.0.1"}
|
|
30
|
-
"odoc" {with-doc}
|
|
31
|
-
]
|
|
32
|
-
build: [
|
|
33
|
-
["dune" "subst"] {dev}
|
|
34
|
-
[
|
|
35
|
-
"dune"
|
|
36
|
-
"build"
|
|
37
|
-
"-p"
|
|
38
|
-
name
|
|
39
|
-
"-j"
|
|
40
|
-
jobs
|
|
41
|
-
"@install"
|
|
42
|
-
"@runtest" {with-test}
|
|
43
|
-
"@doc" {with-doc}
|
|
44
|
-
]
|
|
45
|
-
]
|
|
46
|
-
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
|
|
47
|
-
url {
|
|
48
|
-
src:
|
|
49
|
-
"https://github.com/ocaml-ppx/ocamlformat/releases/download/0.19.0/ocamlformat-0.19.0.tbz"
|
|
50
|
-
checksum: [
|
|
51
|
-
"sha256=62fc46aae8f0a4a33ce7f8d7726d7109bff615ea6fcb50d1482f21d20ee50f46"
|
|
52
|
-
"sha512=408b3af533169f201d7492be869f8ae4acde5583e01693c586929f44b76d569d3d6d555bc056378743d7cb3bd8e11ebc9cbd178ca196bcb82db33127d14902f8"
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
x-commit-hash: "ba67af28ddca8718ef8816b2b0dc1e5b2f5e9591"
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "contact@ocamlpro.com"
|
|
3
|
-
synopsis: "A simple tool to indent OCaml programs"
|
|
4
|
-
description: """
|
|
5
|
-
Ocp-indent is based on an approximate, tolerant OCaml parser and a simple stack
|
|
6
|
-
machine ; this is much faster and more reliable than using regexps. Presets and
|
|
7
|
-
configuration options available, with the possibility to set them project-wide.
|
|
8
|
-
Supports most common syntax extensions, and extensible for others.
|
|
9
|
-
|
|
10
|
-
Includes:
|
|
11
|
-
- An indentor program, callable from the command-line or from within editors
|
|
12
|
-
- Bindings for popular editors
|
|
13
|
-
- A library that can be directly used by editor writers, or just for
|
|
14
|
-
fault-tolerant/approximate parsing.
|
|
15
|
-
"""
|
|
16
|
-
authors: [
|
|
17
|
-
"Louis Gesbert <louis.gesbert@ocamlpro.com>"
|
|
18
|
-
"Thomas Gazagnaire <thomas@gazagnaire.org>"
|
|
19
|
-
"Jun Furuse"
|
|
20
|
-
]
|
|
21
|
-
homepage: "http://www.typerex.org/ocp-indent.html"
|
|
22
|
-
bug-reports: "https://github.com/OCamlPro/ocp-indent/issues"
|
|
23
|
-
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
|
|
24
|
-
tags: ["org:ocamlpro" "org:typerex"]
|
|
25
|
-
dev-repo: "git+https://github.com/OCamlPro/ocp-indent.git"
|
|
26
|
-
build: [
|
|
27
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
28
|
-
]
|
|
29
|
-
run-test: [
|
|
30
|
-
["dune" "runtest" "-p" name "-j" jobs]
|
|
31
|
-
]
|
|
32
|
-
depends: [
|
|
33
|
-
"ocaml"
|
|
34
|
-
"dune" {>= "1.0"}
|
|
35
|
-
"cmdliner" {>= "1.0.0"}
|
|
36
|
-
"ocamlfind"
|
|
37
|
-
"base-bytes"
|
|
38
|
-
]
|
|
39
|
-
post-messages: [
|
|
40
|
-
"This package requires additional configuration for use in editors. Install package 'user-setup', or manually:
|
|
41
|
-
|
|
42
|
-
* for Emacs, add these lines to ~/.emacs:
|
|
43
|
-
(add-to-list 'load-path \"%{share}%/emacs/site-lisp\")
|
|
44
|
-
(require 'ocp-indent)
|
|
45
|
-
|
|
46
|
-
* for Vim, add this line to ~/.vimrc:
|
|
47
|
-
set rtp^=\"%{share}%/ocp-indent/vim\"
|
|
48
|
-
"
|
|
49
|
-
{success & !user-setup:installed}
|
|
50
|
-
]
|
|
51
|
-
url {
|
|
52
|
-
src: "https://github.com/OCamlPro/ocp-indent/archive/1.8.1.tar.gz"
|
|
53
|
-
checksum: [
|
|
54
|
-
"md5=70db6649a8c08a682ad63730c9752e31"
|
|
55
|
-
"sha512=565353de333dd44375366fff75e85a6256c3cd9ff52b3db79803141f975e77cda04dfe32f5e0f2d4c82c59be8f04e9c2bf4d066b113b2cdf267f4c3dcfa401da"
|
|
56
|
-
]
|
|
57
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Parser for ocaml documentation comments"
|
|
3
|
-
description: """
|
|
4
|
-
Odoc_parser is a library for parsing the contents of OCaml documentation
|
|
5
|
-
comments, formatted using 'odoc' syntax, an extension of the language
|
|
6
|
-
understood by ocamldoc."""
|
|
7
|
-
maintainer: ["Jon Ludlam <jon@recoil.org>"]
|
|
8
|
-
authors: ["Anton Bachin <antonbachin@yahoo.com>"]
|
|
9
|
-
license: "ISC"
|
|
10
|
-
homepage: "https://github.com/ocaml-doc/odoc-parser"
|
|
11
|
-
bug-reports: "https://github.com/ocaml-doc/odoc-parser/issues"
|
|
12
|
-
dev-repo: "git+https://github.com/ocaml-doc/odoc-parser.git"
|
|
13
|
-
# This template exists because without it dune pop is dependencies and build rules
|
|
14
|
-
# involving odoc. Since odoc depends on this package, this doesn't work.
|
|
15
|
-
doc: "https://ocaml-doc.github.io/odoc-parser/"
|
|
16
|
-
depends: [
|
|
17
|
-
"dune" {>= "2.8"}
|
|
18
|
-
"ocaml" {>= "4.02.0"}
|
|
19
|
-
"astring"
|
|
20
|
-
"result"
|
|
21
|
-
"ppx_expect" {with-test}
|
|
22
|
-
("ocaml" {< "4.04.1" & with-test} | "sexplib0" {with-test})
|
|
23
|
-
]
|
|
24
|
-
build: [
|
|
25
|
-
["dune" "subst"] {dev}
|
|
26
|
-
[
|
|
27
|
-
"dune"
|
|
28
|
-
"build"
|
|
29
|
-
"-p"
|
|
30
|
-
name
|
|
31
|
-
"-j"
|
|
32
|
-
jobs
|
|
33
|
-
"@install"
|
|
34
|
-
"@runtest" {with-test}
|
|
35
|
-
]
|
|
36
|
-
]
|
|
37
|
-
x-commit-hash: "c5ce41b1e1841a2005bb3c4ca3bf1f77876d509d"
|
|
38
|
-
url {
|
|
39
|
-
src:
|
|
40
|
-
"https://github.com/ocaml-doc/odoc-parser/releases/download/0.9.0/odoc-parser-0.9.0.tbz"
|
|
41
|
-
checksum: [
|
|
42
|
-
"sha256=df0dad1bad39bf4de6be666c4b63b973bd72eba3b75be9f726317121b5f0bd79"
|
|
43
|
-
"sha512=5222debc190784cee62fee177d39fcff56f326b1a3c5b4beb408d0c0eb3d43bf7dcfcffcd25ccc6c3d3c0c098771f01780cb687495ac2a4d95a4bc6401643316"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Pretty-printing library"
|
|
3
|
-
description: """
|
|
4
|
-
|
|
5
|
-
This library provides a lean alternative to the Format [1] module of
|
|
6
|
-
the OCaml standard library. It aims to make it easy for users to do
|
|
7
|
-
the right thing. If you have tried Format before but find its API
|
|
8
|
-
complicated and difficult to use, then Pp might be a good choice for
|
|
9
|
-
you.
|
|
10
|
-
|
|
11
|
-
Pp uses the same concepts of boxes and break hints, and the final
|
|
12
|
-
rendering is done to formatter from the Format module. However it
|
|
13
|
-
defines its own algebra which some might find easier to work with and
|
|
14
|
-
reason about. No previous knowledge is required to start using this
|
|
15
|
-
library, however the various guides for the Format module such as this
|
|
16
|
-
one [2] should be applicable to Pp as well.
|
|
17
|
-
|
|
18
|
-
[1]: https://caml.inria.fr/pub/docs/manual-ocaml/libref/Format.html
|
|
19
|
-
[2]: http://caml.inria.fr/resources/doc/guides/format.en.html
|
|
20
|
-
"""
|
|
21
|
-
maintainer: ["Jeremie Dimino <jeremie@dimino.org>"]
|
|
22
|
-
authors: [
|
|
23
|
-
"Jane Street Group, LLC"
|
|
24
|
-
"Jeremie Dimino <jeremie@dimino.org>"
|
|
25
|
-
]
|
|
26
|
-
license: "MIT"
|
|
27
|
-
homepage: "https://github.com/ocaml-dune/pp"
|
|
28
|
-
doc: "https://ocaml-dune.github.io/pp/"
|
|
29
|
-
bug-reports: "https://github.com/ocaml-dune/pp/issues"
|
|
30
|
-
depends: [
|
|
31
|
-
"dune" {>= "2.0"}
|
|
32
|
-
"ocaml" {>= "4.08.0"}
|
|
33
|
-
"ppx_expect" {with-test}
|
|
34
|
-
]
|
|
35
|
-
build: [
|
|
36
|
-
["dune" "subst"] {dev}
|
|
37
|
-
[
|
|
38
|
-
"dune"
|
|
39
|
-
"build"
|
|
40
|
-
"-p"
|
|
41
|
-
name
|
|
42
|
-
"-j"
|
|
43
|
-
jobs
|
|
44
|
-
"@install"
|
|
45
|
-
"@runtest" {with-test}
|
|
46
|
-
"@doc" {with-doc}
|
|
47
|
-
]
|
|
48
|
-
]
|
|
49
|
-
dev-repo: "git+https://github.com/ocaml-dune/pp.git"
|
|
50
|
-
x-commit-hash: "395b95c89cfe2c6d538dad9d56721b6a7278d46c"
|
|
51
|
-
url {
|
|
52
|
-
src:
|
|
53
|
-
"https://github.com/ocaml-dune/pp/releases/download/1.1.2/pp-1.1.2.tbz"
|
|
54
|
-
checksum: [
|
|
55
|
-
"sha256=e4a4e98d96b1bb76950fcd6da4e938c86d989df4d7e48f02f7a44595f5af1d56"
|
|
56
|
-
"sha512=58f78b083483006b40814be9aac33c895349eb1c6427d2762b4d760192613401262478bd5deff909763517560b06af7bf013c6a6f87d549aafa77b26345303f2"
|
|
57
|
-
]
|
|
58
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "jeremie@dimino.org"
|
|
3
|
-
authors: ["Jérémie Dimino"]
|
|
4
|
-
license: "BSD-3-Clause"
|
|
5
|
-
homepage: "https://github.com/ocaml-ppx/ppx_derivers"
|
|
6
|
-
bug-reports: "https://github.com/ocaml-ppx/ppx_derivers/issues"
|
|
7
|
-
dev-repo: "git://github.com/ocaml-ppx/ppx_derivers.git"
|
|
8
|
-
build: [
|
|
9
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
10
|
-
]
|
|
11
|
-
depends: [
|
|
12
|
-
"ocaml"
|
|
13
|
-
"dune"
|
|
14
|
-
]
|
|
15
|
-
synopsis: "Shared [@@deriving] plugin registry"
|
|
16
|
-
description: """
|
|
17
|
-
Ppx_derivers is a tiny package whose sole purpose is to allow
|
|
18
|
-
ppx_deriving and ppx_type_conv to inter-operate gracefully when linked
|
|
19
|
-
as part of the same ocaml-migrate-parsetree driver."""
|
|
20
|
-
url {
|
|
21
|
-
src: "https://github.com/ocaml-ppx/ppx_derivers/archive/1.2.1.tar.gz"
|
|
22
|
-
checksum: "md5=5dc2bf130c1db3c731fe0fffc5648b41"
|
|
23
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "Jane Street developers"
|
|
3
|
-
authors: ["Jane Street Group, LLC"]
|
|
4
|
-
homepage: "https://github.com/janestreet/ppx_yojson_conv_lib"
|
|
5
|
-
bug-reports: "https://github.com/janestreet/ppx_yojson_conv_lib/issues"
|
|
6
|
-
dev-repo: "git+https://github.com/janestreet/ppx_yojson_conv_lib.git"
|
|
7
|
-
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_yojson_conv_lib/index.html"
|
|
8
|
-
license: "MIT"
|
|
9
|
-
build: [
|
|
10
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
11
|
-
]
|
|
12
|
-
depends: [
|
|
13
|
-
"ocaml" {>= "4.02.3"}
|
|
14
|
-
"dune" {>= "2.0.0"}
|
|
15
|
-
"yojson" {>= "1.7.0"}
|
|
16
|
-
]
|
|
17
|
-
synopsis: "Runtime lib for ppx_yojson_conv"
|
|
18
|
-
description: "
|
|
19
|
-
Part of the Jane Street's PPX rewriters collection.
|
|
20
|
-
"
|
|
21
|
-
url {
|
|
22
|
-
src: "https://ocaml.janestreet.com/ocaml-core/v0.14/files/ppx_yojson_conv_lib-v0.14.0.tar.gz"
|
|
23
|
-
checksum: "md5=e23c5593a7211ad4fb09e26e9a74698a"
|
|
24
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Standard library for ppx rewriters"
|
|
3
|
-
description: """
|
|
4
|
-
Ppxlib is the standard library for ppx rewriters and other programs
|
|
5
|
-
that manipulate the in-memory reprensation of OCaml programs, a.k.a
|
|
6
|
-
the "Parsetree".
|
|
7
|
-
|
|
8
|
-
It also comes bundled with two ppx rewriters that are commonly used to
|
|
9
|
-
write tools that manipulate and/or generate Parsetree values;
|
|
10
|
-
`ppxlib.metaquot` which allows to construct Parsetree values using the
|
|
11
|
-
OCaml syntax directly and `ppxlib.traverse` which provides various
|
|
12
|
-
ways of automatically traversing values of a given type, in particular
|
|
13
|
-
allowing to inject a complex structured value into generated code.
|
|
14
|
-
"""
|
|
15
|
-
maintainer: ["opensource@janestreet.com"]
|
|
16
|
-
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
17
|
-
license: "MIT"
|
|
18
|
-
homepage: "https://github.com/ocaml-ppx/ppxlib"
|
|
19
|
-
doc: "https://ocaml-ppx.github.io/ppxlib/"
|
|
20
|
-
bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues"
|
|
21
|
-
depends: [
|
|
22
|
-
"dune" {>= "2.7"}
|
|
23
|
-
"ocaml" {>= "4.04.1" & < "4.14"}
|
|
24
|
-
"ocaml-compiler-libs" {>= "v0.11.0"}
|
|
25
|
-
"ppx_derivers" {>= "1.0"}
|
|
26
|
-
"sexplib0" {>= "v0.12"}
|
|
27
|
-
"stdlib-shims"
|
|
28
|
-
"ocamlfind" {with-test}
|
|
29
|
-
"re" {with-test & >= "1.9.0"}
|
|
30
|
-
"cinaps" {with-test & >= "v0.12.1"}
|
|
31
|
-
"base" {with-test}
|
|
32
|
-
"stdio" {with-test}
|
|
33
|
-
"odoc" {with-doc}
|
|
34
|
-
]
|
|
35
|
-
conflicts: [
|
|
36
|
-
"ocaml-migrate-parsetree" {< "2.0.0"}
|
|
37
|
-
"base-effects"
|
|
38
|
-
]
|
|
39
|
-
build: [
|
|
40
|
-
["dune" "subst"] {dev}
|
|
41
|
-
[
|
|
42
|
-
"dune"
|
|
43
|
-
"build"
|
|
44
|
-
"-p"
|
|
45
|
-
name
|
|
46
|
-
"-j"
|
|
47
|
-
jobs
|
|
48
|
-
"@install"
|
|
49
|
-
"@runtest" {with-test}
|
|
50
|
-
"@doc" {with-doc}
|
|
51
|
-
]
|
|
52
|
-
]
|
|
53
|
-
dev-repo: "git+https://github.com/ocaml-ppx/ppxlib.git"
|
|
54
|
-
url {
|
|
55
|
-
src:
|
|
56
|
-
"https://github.com/ocaml-ppx/ppxlib/releases/download/0.23.0/ppxlib-0.23.0.tbz"
|
|
57
|
-
checksum: [
|
|
58
|
-
"sha256=1b5836c186b9d5a16acf47da94f3968f4f08b519b7729cd86a8fd39971fe12e5"
|
|
59
|
-
"sha512=00352fe61756f5aad5fd89b3cc596b619e5a5cf6808dcb0c197369bfff9f1ba182b4c6e5ea0e67269c9441b7b9b28f2a70d63fb972dfda64fc1a8404f7924753"
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
x-commit-hash: "de5b3113f31167d156de7d2caa1a36c04a01dba2"
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
|
|
3
|
-
maintainer: "rudi.grinberg@gmail.com"
|
|
4
|
-
authors: [
|
|
5
|
-
"Jerome Vouillon"
|
|
6
|
-
"Thomas Gazagnaire"
|
|
7
|
-
"Anil Madhavapeddy"
|
|
8
|
-
"Rudi Grinberg"
|
|
9
|
-
"Gabriel Radanne"
|
|
10
|
-
]
|
|
11
|
-
license: "LGPL-2.0 with OCaml linking exception"
|
|
12
|
-
homepage: "https://github.com/ocaml/ocaml-re"
|
|
13
|
-
bug-reports: "https://github.com/ocaml/ocaml-re/issues"
|
|
14
|
-
dev-repo: "git+https://github.com/ocaml/ocaml-re.git"
|
|
15
|
-
|
|
16
|
-
build: [
|
|
17
|
-
["dune" "subst"] {pinned}
|
|
18
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
19
|
-
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
|
20
|
-
]
|
|
21
|
-
|
|
22
|
-
depends: [
|
|
23
|
-
"ocaml" {>= "4.02"}
|
|
24
|
-
"dune" {>= "2.0"}
|
|
25
|
-
"ounit" {with-test}
|
|
26
|
-
"seq"
|
|
27
|
-
]
|
|
28
|
-
|
|
29
|
-
synopsis: "RE is a regular expression library for OCaml"
|
|
30
|
-
description: """
|
|
31
|
-
Pure OCaml regular expressions with:
|
|
32
|
-
* Perl-style regular expressions (module Re.Perl)
|
|
33
|
-
* Posix extended regular expressions (module Re.Posix)
|
|
34
|
-
* Emacs-style regular expressions (module Re.Emacs)
|
|
35
|
-
* Shell-style file globbing (module Re.Glob)
|
|
36
|
-
* Compatibility layer for OCaml's built-in Str module (module Re.Str)
|
|
37
|
-
"""
|
|
38
|
-
url {
|
|
39
|
-
src:
|
|
40
|
-
"https://github.com/ocaml/ocaml-re/releases/download/1.10.3/re-1.10.3.tbz"
|
|
41
|
-
checksum: [
|
|
42
|
-
"sha256=846546967f3fe31765935dd40a6460a9424337ecce7b12727fcba49480790ebb"
|
|
43
|
-
"sha512=d02103b7b8b8d8bc797341dcc933554745427f3c1b51b54b4ac9ff81badfd68c94726c57548b08e00ca99f3e09741b54b6500e97c19fc0e8fcefd6dfbe71da7f"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
x-commit-hash: "c5d5df80e128c3d7646b7d8b1322012c5fcc35f3"
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "Jane Street developers"
|
|
3
|
-
authors: ["Jane Street Group, LLC"]
|
|
4
|
-
homepage: "https://github.com/janestreet/result"
|
|
5
|
-
dev-repo: "git+https://github.com/janestreet/result.git"
|
|
6
|
-
bug-reports: "https://github.com/janestreet/result/issues"
|
|
7
|
-
license: "BSD-3-Clause"
|
|
8
|
-
build: [["dune" "build" "-p" name "-j" jobs]]
|
|
9
|
-
depends: [
|
|
10
|
-
"ocaml"
|
|
11
|
-
"dune" {>= "1.0"}
|
|
12
|
-
]
|
|
13
|
-
synopsis: "Compatibility Result module"
|
|
14
|
-
description: """
|
|
15
|
-
Projects that want to use the new result type defined in OCaml >= 4.03
|
|
16
|
-
while staying compatible with older version of OCaml should use the
|
|
17
|
-
Result module defined in this library."""
|
|
18
|
-
url {
|
|
19
|
-
src:
|
|
20
|
-
"https://github.com/janestreet/result/releases/download/1.5/result-1.5.tbz"
|
|
21
|
-
checksum: "md5=1b82dec78849680b49ae9a8a365b831b"
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: " "
|
|
3
|
-
authors: " "
|
|
4
|
-
homepage: " "
|
|
5
|
-
depends: [
|
|
6
|
-
"ocaml" {>= "4.07.0"}
|
|
7
|
-
]
|
|
8
|
-
dev-repo: "git+https://github.com/ocaml/ocaml.git"
|
|
9
|
-
bug-reports: "https://caml.inria.fr/mantis/main_page.php"
|
|
10
|
-
synopsis:
|
|
11
|
-
"Compatibility package for OCaml's standard iterator type starting from 4.07."
|
|
12
|
-
extra-files: [
|
|
13
|
-
["seq.install" "md5=026b31e1df290373198373d5aaa26e42"]
|
|
14
|
-
["META.seq" "md5=b33c8a1a6c7ed797816ce27df4855107"]
|
|
15
|
-
]
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "Jane Street developers"
|
|
3
|
-
authors: ["Jane Street Group, LLC"]
|
|
4
|
-
homepage: "https://github.com/janestreet/sexplib0"
|
|
5
|
-
bug-reports: "https://github.com/janestreet/sexplib0/issues"
|
|
6
|
-
dev-repo: "git+https://github.com/janestreet/sexplib0.git"
|
|
7
|
-
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/sexplib0/index.html"
|
|
8
|
-
license: "MIT"
|
|
9
|
-
build: [
|
|
10
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
11
|
-
]
|
|
12
|
-
depends: [
|
|
13
|
-
"ocaml" {>= "4.04.2"}
|
|
14
|
-
"dune" {>= "2.0.0"}
|
|
15
|
-
]
|
|
16
|
-
synopsis: "Library containing the definition of S-expressions and some base converters"
|
|
17
|
-
description: "
|
|
18
|
-
Part of Jane Street's Core library
|
|
19
|
-
The Core suite of libraries is an industrial strength alternative to
|
|
20
|
-
OCaml's standard library that was developed by Jane Street, the
|
|
21
|
-
largest industrial user of OCaml.
|
|
22
|
-
"
|
|
23
|
-
url {
|
|
24
|
-
src: "https://ocaml.janestreet.com/ocaml-core/v0.14/files/sexplib0-v0.14.0.tar.gz"
|
|
25
|
-
checksum: "md5=37aff0af8f8f6f759249475684aebdc4"
|
|
26
|
-
}
|