ocaml-migrate-parsetree icon indicating copy to clipboard operation
ocaml-migrate-parsetree copied to clipboard

DEPRECATED. See https://ocaml.org/changelog/2023-10-23-omp-deprecation. Convert OCaml parsetrees between different major versions

Results 11 ocaml-migrate-parsetree issues
Sort by recently updated
recently updated
newest added

When compiling the following code with OCaml 5 and ocaml-migrate-parsetree 2.4.0 ``` open Migrate_parsetree let copy_structure str = str |> Migrate_406_407.copy_structure |> Migrate_407_408.copy_structure |> Migrate_408_409.copy_structure |> Migrate_409_410.copy_structure |> Migrate_410_411.copy_structure |>...

Trying to build 2.3.0 I get this error: ``` $ dune build -j16 File "tools/gencopy.ml", line 147, characters 60-74: 147 | List.map2 (fun s t -> (t.id, evar s.txt)) params_in...

This is a meta issue to track the progress towards ocaml-migrate-parsetree 2.0.0, a new major release that simplify ocaml-migrate-parsetree to its core functionality: the parsetree type definitions + the migration...

This is an error log from [sandmark](https://github.com/ocaml-bench/sandmark) where I am trying to build `ocaml-migrate-parsetree.2.1.0` with `4.14.0+trunk` and `dune.2.9.0` ``` #=== ERROR while compiling ocaml-migrate-parsetree.2.1.0+stock ================# # context 2.0.6 | linux/x86_64...

Currently investigating why it does not build with multicore-ocaml trunk. This is the error message ``` File "src/ast_406.ml", line 237, characters 2-1773: Error: This variant or record definition does not...

Currently when importing `ocaml-migrate-parsetree` all the packages under `compilerlibs.common` are added to the environment, this is problematic when there is copies of OCaml code, because now the error messages are...

I ran into some differences in whitespace across OCaml versions when testing a ppx rewriter. For example OCaml 4.02-4.05 places no space after a comma in tuples but adds some...

I'm working on a ppx where the test cases are written in Reason. Right now I have to manually run these test cases through refmt and write `.ml` files, that...

Would it be difficult to handle Ast_iterator similarly to how Ast_mapper is handled now? Only for the versions where it appears (>= 4.03 IIRC).