Dear ReScript contributors:
We made lots of quality of life improvements in the toolchain during the last few months, in particular, one thing we mainly focus on is to make the maintainance easier and more future proof.
One thing that makes ReScript hard to contribute is that we relies on a patched compiler, this is due to the fact that we needs conditional compilation to target three modes: DEBUG, RELEASE and BROWSER mode. The RELEASE mode is the most performant one, the BROWSER mode provides the playground support while the DEBUG mode makes debugging easier.
After some hard work in the last few months, we reach a milestone today, we are not relying on a patched compiler any more without losing any of those good stuff.
It is more than that, the ReScript toolchain works across 4.06~4.13 (4.04~4.06 should also work but not tested), I expect it should work out of the box with OCaml 5 too!
If you want to contribute to this project, you only need have a working OCaml compiler, that’s it. All the devtools would just work including the LSP server, ocamlformat. I invite you to give it a try and contributions are more than welcome.
I am going to have a baby soon, I will still watch the forum but expect slow responses!
Best – Hongbo