Go to file
Jerry James b0e4480635 Verified that License tag is valid SPDX. 2023-02-15 15:24:49 -07:00
.gitignore Initial import. 2020-05-14 08:04:55 -06:00
README.md Rebuild for ocaml-stdio 0.15.0. 2021-11-30 10:56:21 -07:00
ocaml-ppxlib-stdlib-shims.patch Version 0.28.0. 2022-11-01 10:43:29 -06:00
ocaml-ppxlib.spec Rebuild OCaml packages for F38 2023-01-24 13:46:17 +00:00
sources Version 0.28.0. 2022-11-01 10:43:29 -06:00

README.md

ocaml-ppxlib

The ppxlib project provides the basis for the ppx system, which is currently the officially supported method for meta-programming in Ocaml. It offers a principled way to generate code at compile time in OCaml projects. It features:

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