Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] Ocaml-migrate-parsetree and compiler-libs.Types
@ 2017-07-18 11:14 xrgml
  0 siblings, 0 replies; only message in thread
From: xrgml @ 2017-07-18 11:14 UTC (permalink / raw)
  To: caml-list

Hello,

I am working on migrating `ppx_import` (https://github.com/whitequark/ppx_import) to OMP. This PPX rewriter uses the `Types` module from `compiler-libs` as a result of using `Cmi_format` from that same module and neither are part of the OMP migration framework.

What would be the best approach here ? My current solution is to keep using `Types` and `Cmi_format` and massage its output into the current AST of `ppx_import` (`Ast_403`). But that assumes that the interface for `Types` does not change across versions, which seems a bit preposterous.

Thanks,
xrg

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-18 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-18 11:14 [Caml-list] Ocaml-migrate-parsetree and compiler-libs.Types xrgml

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox