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"
29maintainer: "Chet Murthy <chetsky@gmail.com>"
30authors: ["Chet Murthy"]
31homepage: "https://github.com/camlp5/pa_ppx"
32license: "BSD-3-Clause"
33bug-reports: "https://github.com/camlp5/pa_ppx/issues"
34dev-repo: "git+https://github.com/camlp5/pa_ppx.git"
35doc: "https://github.com/camlp5/pa_ppx/doc"
36
37depends: [
38 "ocaml" { >= "4.10.0" & < "5.02.0" }
39 "conf-perl"
40 "camlp5-buildscripts" { >= "0.03" }
41 "camlp5" { >= "8.02.00" }
42 "not-ocamlfind" { >= "0.10" }
43 "pcre" { >= "7.4.3" }
44 "result" { >= "1.5" }
45 "yojson" { >= "1.7.0" }
46 "sexplib0"
47 "bos" { >= "0.2.0" }
48 "fmt"
49 "uint" { >= "2.0.1" }
50 "cppo"
51 "ounit"
52 "sexplib" { with-test & >= "v0.14.0" }
53 "ppx_import" { with-test & >= "1.7.1" }
54 "ppx_deriving" { with-test & < "6.0.2"}
55 "ppx_deriving_yojson" { with-test & >= "3.5.2" & < "3.8.0" }
56 "ppx_here" { with-test & >= "v0.13.0" }
57 "ppx_sexp_conv" { with-test & >= "v0.13.0" }
58# "expect_test_helpers" { with-test & >= "v0.13.0" }
59]
60conflicts: [
61 "base-effects"
62 "ocaml-option-bytecode-only"
63]
64build: [
65 [make "get-generated"]
66 [make "-j%{jobs}%" "DEBUG=-g" "sys"]
67 [make "DEBUG=-g" "test"] {with-test}
68]
69install: [make "install"]
70url {
71 src: "https://github.com/camlp5/pa_ppx/archive/refs/tags/0.13.tar.gz"
72 checksum: [
73 "sha512=b6215cae67472238f1f6a418920149b0572f28c7f3c4ff1889027b4a294f3d24154439929255d71ae844ca8fbb7d68eca11721a6e9d4e0cbb35d26ed9df7d41f"
74 ]
75}