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.11.tar.gz
sha512=e721138c8ac76b16eadf6b0c7ac52b6aaa3dc100ff897f5878b3dbfb7433de333a13eeb947b03bf6668cf59ad1aa42b8df695b567ed495240a1ffe04068944f0

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 4.11, with all the intermediate ASTs, and migrations forward as well as backward.

Published: 12 Sep 2023

Dependencies (8)

  1. bos >= "0.2.0"
  2. fmt
  3. not-ocamlfind >= "0.10"
  4. pa_ppx >= "0.12"
  5. camlp5 >= "8.01.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

None