ppx_stage
ppx_stage copied to clipboard
Upgrade from ocaml-migrate-parsetree to Ppxlib
ocaml-migrate-parsetree is now deprecated. This upgrades the code to use Ppxlib, so that ppx_stage can be used on recent OCaml versions.
With these changes, the code now compiles and passes the tests in OCaml 5.1.1.
Future work: handle locations correctly so that tools like Merlin are not buggy on code that uses the PPX.
(In case that wasn’t clear, this version is strictly better than master since locations are not emitted properly on master either.)