pa_ppxversion Documentation on ocaml.org
PPX Rewriters for Ocaml, written using Camlp5
This is a collection of PPX rewriters, re-implementing those based on ppxlib and other libraries, but instead based on Camlp5. Included is also a collection of support libraries for writing new PPX rewriters. Included are:
pa_assert: ppx_assert pa_ppx.deriving, pa_ppx.deriving_plugins (enum, eq, fold, iter, make, map, ord, sexp, show, yojson): ppx_deriving, plugins, ppx_sexp_conv, ppx_deriving_yojson pa_ppx.expect_test: ppx_expect_test pa_ppx.here: ppx_here pa_ppx.import: ppx_import pa_ppx.inline_test: ppx_inline_test
pa_ppx.undo_deriving: pa_ppx.deriving expands [@@deriving ...] into code; this rewriter undoes that. pa_ppx.unmatched_vala: expands to match-cases (support library for camlp5-based PPX rewriters) pa_ppx.hashrecons: support for writing AST rewriters that automatically fills in hash-consing boilerplate pa_dock: implements doc-comment extraction for camlp5 preprocessors
Many of the reimplementations in fact offer significant enhanced function, described in the pa_ppx documentation. In addition, there is an extensive test-suite, much of it slightly modified versions of the tests for the respective PPX rewriters.
| Author | Chet Murthy |
|---|---|
| License | BSD-3-Clause |
| Homepage | https://github.com/camlp5/pa_ppx |
| Issue Tracker | https://github.com/camlp5/pa_ppx/issues |
| Documentation | https://github.com/camlp5/pa_ppx/doc |
| Maintainer | Chet Murthy <chetsky@gmail.com> |
| Dependencies |
|
| Conflicts |
|
| Source [http] | https://github.com/camlp5/pa_ppx/archive/refs/tags/8.05.01.tar.gz sha512=bb3c35efda818c053caed52730603b68212353c8dd94c0a6eee139568929b6b52941348c584e5b8c106606eed571bd00ef3e00528b54ebb87b1014193658b257 |
- GTwith-doc & >=0.5.3
- ostapwith-doc & >=0.6.1
- pa_ppx_fmtformat
- pa_ppx_hashcons>=0.11
- pa_ppx_migrate>=0.13
- pa_ppx_parsetree
- pa_ppx_q_ast!=0.12
- pa_ppx_quotation2extension
- pa_ppx_regexp
- pa_ppx_static
- pa_ppx_string
- pa_ppx_unique>=0.11


