package pa_ppx_migrate

  1. Overview
  2. Docs
A PPX Rewriter for Migrating AST types (written using Camlp5)

Install

Dune Dependency

Authors

Maintainers

Sources

0.12.tar.gz
sha512=16816504d4f2755f0872ac477f43861c047d21dd36f4518bac8507646f3f09f94195af4df51ab347aa226fb14f6026432c94742c6d3f599dc357815e2babddc2

Description

This is a PPX Rewriter for generating "migrations" like those written by-hand (with some automated support) in "ocaml-migrate-parsetree". The goal here is that the input to the automated tool is the minimum possible, with no need for human massaging of output from the tool.

There are two examples: a small one (in a unit-test) and a full set of migrations from Ocaml's AST 4.02 all the way up to 5.2.0, with all the intermediate ASTs, and migrations forward as well as backward.

Published: 29 Jun 2024

Dependencies (8)

  1. bos >= "0.2.0"
  2. fmt
  3. not-ocamlfind >= "0.10"
  4. pa_ppx >= "0.15"
  5. camlp5 >= "8.03.00"
  6. camlp5-buildscripts >= "0.02"
  7. cppo >= "1.6.9"
  8. ocaml >= "4.10.0"

Dev Dependencies (1)

  1. ounit >= "2.2.7" & with-test

Conflicts (2)

  1. pa_ppx_parsetree <= "0.02"
  2. pa_ppx_q_ast <= "0.11"
OCaml

Innovation. Community. Security.