Skip to content
/ ppxlib Public
forked from ocaml-ppx/ppxlib

Base library and tools for ppx rewriters

License

Notifications You must be signed in to change notification settings

LexiFi/ppxlib

This branch is 104 commits behind ocaml-ppx/ppxlib:main.

Folders and files

NameName
Last commit message
Last commit date
Jun 17, 2024
Jul 5, 2024
Sep 4, 2024
Feb 9, 2024
Sep 23, 2024
Jan 28, 2021
Jul 16, 2024
Sep 20, 2023
Aug 24, 2023
Feb 3, 2022
Sep 26, 2022
Sep 13, 2021
Jan 28, 2021
Jan 28, 2021
Sep 26, 2024
Oct 31, 2023
Sep 26, 2024
Feb 1, 2024
Feb 1, 2024
Feb 1, 2024
Sep 28, 2021
Jul 5, 2024
Jul 5, 2024
Mar 13, 2018
Sep 26, 2024
Jun 19, 2023
Aug 19, 2024
Dec 29, 2021
May 24, 2018
Oct 17, 2022
Jun 12, 2024
Jul 5, 2024
Sep 17, 2020
Jan 28, 2021
Sep 23, 2024
Oct 4, 2018
Sep 23, 2024
Sep 23, 2024
Sep 23, 2024

Repository files navigation

Ppxlib - Meta-programming for OCaml

ocaml-ci status trunk-build-status AppVeyor status

Ppxlib documentation

Overview

Ppxlib is the standard library for ppx rewriters and other programs that manipulate the in-memory representation of OCaml programs, a.k.a. the "Parsetree".

It also comes bundled with two ppx rewriters that are commonly used to write tools that manipulate and/or generate Parsetree values: ppxlib.metaquot, which allows constructing Parsetree values using the OCaml syntax directly, and ppxlib.traverse, which provides various ways of automatically traversing values of a given type, in particular allowing to inject a complex structured value into generated code.

For more information about ppxlib and how to use it, please consult the documentation.

What is the relation between ppxlib and other ppx libraries?

The ppx world has a long and storied history, and if you look around, you may find other projects that offer functionalities similar to ppxlib. The following blog post gives a good overview of the various libraries that have been developed over time. At this point, ppxlib is considered the de facto library for writing ppx rewriters.

History of the project

This repository was created by merging several older smaller projects that were developed at Jane Street. See the history for more details.

About

Base library and tools for ppx rewriters

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • OCaml 97.2%
  • Raku 2.3%
  • Python 0.1%
  • Terra 0.1%
  • Dune 0.1%
  • Shell 0.1%
  • Other 0.1%