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