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 "camlp5-buildscripts" { >= "0.02" & < "0.03" }
40 "camlp5" { = "8.01.00" }
41 "not-ocamlfind" { >= "0.10" }
42 "pcre" { >= "7.4.3" }
43 "result" { >= "1.5" }
44 "yojson" { >= "1.7.0" }
45 "sexplib0"
46 "bos" { >= "0.2.0" }
47 "fmt"
48 "uint" { >= "2.0.1" }
49 "cppo"
50 "ounit"
51 "sexplib" { with-test & >= "v0.14.0" }
52 "ppx_import" { with-test & >= "1.7.1" }
53 "ppx_deriving" { with-test & < "6.0.2"}
54 "ppx_deriving_yojson" { with-test & >= "3.5.2" & < "3.8.0" }
55 "ppx_here" { with-test & >= "v0.13.0" }
56 "ppx_sexp_conv" { with-test & >= "v0.13.0" }
57# "expect_test_helpers" { with-test & >= "v0.13.0" }
58]
59conflicts: [
60 "base-effects"
61 "ocaml-option-bytecode-only"
62]
63build: [
64 [make "get-generated"]
65 [make "-j%{jobs}%" "DEBUG=-g" "sys"]
66 [make "DEBUG=-g" "test"] {with-test}
67]
68install: [make "install"]
69url {
70 src: "https://github.com/camlp5/pa_ppx/archive/refs/tags/0.12.tar.gz"
71 checksum: [
72 "sha512=3790e135ffccbd8b8777cc3357b72f2c6e881021d89ad0a8bfd2ca247aef0e623fa08c2935fb176adfb2bc7cdcdfa0a4901d93f6ec557fbe376b9f3ef6c98e0f"
73 ]
74}