ppxlib

AuthorJane Street Group, LLC <opensource@janestreet.com>
LicenseApache-2.0
Homepagehttps://github.com/ocaml-ppx/ppxlib
Issue Trackerhttps://github.com/ocaml-ppx/ppxlib/issues
Maintaineropensource@janestreet.com
Dependencies
&base>= v0.11.0
dune
ocaml-compiler-libs>= v0.11.0
ocaml-migrate-parsetree>= 1.0.9
ppx_derivers>= 1.0
stdio>= v0.11.0
Availableocaml-version >= "4.04.1"
PublishedApr 24, 2018
Source [http] https://github.com/ocaml-ppx/ppxlib/archive/0.3.0.tar.gz
e6ff83b1643a44fcb6b0acde4d2aa299
StatisticsInstalled 2147 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppxlib/ppxlib.0.3.0/opam

A comprehensive toolbox for ppx development. It features:

  • a OCaml AST / parser / pretty-printer snapshot,to create a full frontend independent of the version of OCaml;
  • a library for library for ppx rewriters in general, and type-driven code generators in particular;
  • a feature-full driver for OCaml AST transformers;
  • a quotation mechanism allowing to write values representing the OCaml AST in the OCaml syntax;
  • a generator of open recursion classes from type definitions.