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.09.tar.gz
sha512=7bc7e62ee293303dbec180890edd65cfc1b67ae3670340c483388a70d538136217af8f2f1cef4c0d4f26479938b3bafa9ae26c18503ff946217bd11b4cc26326

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: 29 Dec 2022

Dependencies (9)

  1. bos >= "0.2.0"
  2. pcre >= "7.4.3"
  3. not-ocamlfind >= "0.01"
  4. pa_ppx >= "0.11" & < "0.12"
  5. camlp5 >= "8.00.04"
  6. conf-perl-string-shellquote
  7. conf-perl-ipc-system-simple
  8. conf-perl
  9. ocaml >= "4.10.0" & < "5.01.0"

Dev Dependencies (1)

  1. ounit with-test

Conflicts

None

OCaml

Innovation. Community. Security.