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.10.tar.gz
sha512=3e76a30cd721cb1f527d4900a612916fee2518f37fd1a3cf78df5a9c36c9e4daa2d4aafee9daaa638cda695c1586d8b90484d7f4d37994bae2d1b7de429b3788

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: 06 Apr 2023

Dependencies (9)

  1. bos >= "0.2.0"
  2. fmt
  3. pcre >= "7.4.3"
  4. not-ocamlfind >= "0.10"
  5. pa_ppx >= "0.12"
  6. camlp5 >= "8.01.00"
  7. camlp5-buildscripts >= "0.02" & < "0.03"
  8. cppo >= "1.6.9"
  9. ocaml >= "4.10.0" & < "5.01.0"

Dev Dependencies (1)

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

Conflicts

None