this repo has no description
1synopsis: "PPX Rewriters for Ocaml, written using Camlp5"
2description:
3"""
4This is a collection of PPX rewriters, re-implementing those based on ppxlib
5and other libraries, but instead based on Camlp5. Included is also a collection
6of support libraries for writing new PPX rewriters. Included are:
7
8pa_assert: ppx_assert
9pa_ppx.deriving, pa_ppx.deriving_plugins (enum, eq, fold, iter, make, map, ord, sexp, show, yojson):
10 ppx_deriving, plugins, ppx_sexp_conv, ppx_deriving_yojson
11pa_ppx.expect_test: ppx_expect_test
12pa_ppx.here: ppx_here
13pa_ppx.import: ppx_import
14pa_ppx.inline_test: ppx_inline_test
15
16pa_ppx.undo_deriving: pa_ppx.deriving expands [@@deriving ...] into code; this rewriter undoes that.
17pa_ppx.unmatched_vala: expands to match-cases (support library for camlp5-based PPX rewriters)
18pa_ppx.hashrecons: support for writing AST rewriters that automatically fills in hash-consing boilerplate
19pa_dock: implements doc-comment extraction for camlp5 preprocessors
20
21Many of the reimplementations in fact offer significant enhanced
22function, described in the pa_ppx documentation. In addition, there
23is an extensive test-suite, much of it slightly modified versions of
24the tests for the respective PPX rewriters.
25
26"""
27opam-version: "2.0"
28maintainer: "Chet Murthy <chetsky@gmail.com>"
29authors: ["Chet Murthy"]
30homepage: "https://github.com/camlp5/pa_ppx"
31license: "BSD-3-Clause"
32bug-reports: "https://github.com/camlp5/pa_ppx/issues"
33dev-repo: "git+https://github.com/camlp5/pa_ppx.git"
34doc: "https://github.com/camlp5/pa_ppx/doc"
35
36depends: [
37 "ocaml" { >= "4.10.0" & < "4.15.0" }
38 "conf-perl"
39 "conf-perl-ipc-system-simple"
40 "conf-perl-string-shellquote"
41 "camlp5" { >= "8.00.03" & < "8.01.00" }
42 "not-ocamlfind" { >= "0.01" }
43 "pcre" { >= "7.4.3" }
44 "result" { >= "1.5" }
45 "yojson" { >= "1.7.0" }
46 "sexplib0"
47 "bos" { >= "0.2.0" }
48 "uint" { >= "2.0.1" }
49 "ounit"
50# "sexplib" { with-test & >= "v0.14.0" }
51# "ppx_import" { with-test & >= "1.7.1" }
52# "ppx_deriving { with-test }
53# "ppx_deriving_yojson" { with-test & >= "3.5.2" }
54# "ppx_here" { with-test & >= "v0.13.0" }
55# "ppx_sexp_conv" { with-test & >= "v0.13.0" }
56# "expect_test_helpers" { with-test & >= "v0.13.0" }
57]
58conflicts: [
59 "base-effects"
60]
61build: [
62 [make "get-generated"]
63 [make "-j%{jobs}%" "DEBUG=-g" "sys"]
64# [make "DEBUG=-g" "test"] {with-test}
65]
66install: [make "install"]
67url {
68 src: "https://github.com/camlp5/pa_ppx/archive/refs/tags/0.09.tar.gz"
69 checksum: [
70 "sha512=ecc507058af1a050573d9696fb7905aa39e6ebba40db01f667f13e6fded6dbd4d384f5dc6c04e250cabf6431b09119b7d82b61a27d50758cdcad227e9f551f34"
71 ]
72}