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.12.0" }
38 "camlp5" { >= "8.00~alpha03" & < "8.00" }
39 "not-ocamlfind" { >= "0.01" }
40 "pcre" { >= "7.4.3" }
41 "yojson" { >= "1.7.0" }
42 "ounit2" { >= "2.2.3" }
43 "bos" { >= "0.2.0" }
44 "base"
45 "sexplib"
46 "ppx_deriving_protobuf" { >= "2.7" }
47 "uint" { >= "2.0.1" }
48 "ppx_import" {with-test & >= "1.7.1" & < "2.0"}
49 "ppx_deriving_yojson" { with-test & >= "3.5.2" }
50 "ppx_here" { with-test & >= "v0.13.0" }
51 "ppx_sexp_conv" { with-test & >= "v0.13.0" }
52 "expect_test_helpers" { with-test & >= "v0.13.0" }
53]
54depexts: [
55 [
56 "libstring-shellquote-perl"
57 "libipc-system-simple-perl"
58 ] {os-family = "debian"}
59 [
60 "perl-string-shellquote"
61 "perl-ipc-system-simple"
62 ] {os-distribution = "alpine"}
63 [
64 "perl-String-ShellQuote"
65 "perl-IPC-System-Simple"
66 ] {os-distribution = "centos"}
67 [
68 "perl-String-ShellQuote"
69 "perl-IPC-System-Simple"
70 ] {os-family = "suse" | os-family = "opensuse"}
71 [
72 "perl-String-ShellQuote"
73 "perl-IPC-System-Simple"
74 ] {os-family = "fedora"}
75]
76available: [ os != "macos" ]
77build: [
78 [make "get-generated"]
79 [make "sys"]
80 [make "test"] {with-test}
81]
82install: [make "install"]
83url {
84 src: "https://github.com/camlp5/pa_ppx/archive/0.03.tar.gz"
85 checksum: [
86 "sha512=b5d847ecf7a4b19002467eb312425f764199e99637c704d4542bb8c320b96c04b267ef0d78efae29843108968d7f9b64ed02fc2cb9681eb85cad96b9d326957c"
87 ]
88}