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" & < "5.01.0" }
38 "conf-perl"
39 "conf-perl-ipc-system-simple"
40 "conf-perl-string-shellquote"
41 "camlp5" { >= "8.00.04" & < "8.01.00" }
42 "not-ocamlfind" { >= "0.09" }
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 & < "6.0.2"}
53 "ppx_deriving_yojson" { with-test & >= "3.5.2" & < "3.8.0" }
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 "ocaml-option-bytecode-only"
61]
62build: [
63 [make "get-generated"]
64 [make "-j%{jobs}%" "DEBUG=-g" "sys"]
65 [make "DEBUG=-g" "test"] {with-test}
66]
67install: [make "install"]
68url {
69 src: "https://github.com/camlp5/pa_ppx/archive/refs/tags/0.10.tar.gz"
70 checksum: [
71 "sha512=3df9af96c89799be1caf818d3493c4b8923662f5aae88463f9cc5f15f765aa4c15c4acb9d15b27568f4ace452020ca5db8aa061bcf3f841513fc0de3f63c566f"
72 ]
73}