hackwaly / ocamlearlybird

OCaml debug adapter
MIT License
208 stars 23 forks source link

updating support for newer compilers #38

Closed cdaringe closed 1 year ago

cdaringe commented 2 years ago

Greetings! A project I am working on forcibly uses 4.13.1. What is involved in adding support for newer versions? I saw that a magic number is tracked, but not sure what needs to be done beyond that!

Thanks for the time & support :) I am willing to send patches as needed

hackwaly commented 2 years ago

You need to implement the internal typenv library of 4.13. As ocaml's internal compiler libs API may have some breaking changes.

sim642 commented 1 year ago

OCaml 4.13 and 4.14 should be supported now (on master), but there's no release with that support yet.

By the way, compiler-libs expose everything necessary nowadays, so there's no need to vendor that code from the OCaml compiler anymore.