Dear ReScript users:
The compiler plugin (or called ppx) is a complexity beast, it is worse in a native language that does not offer stable ABI or not have something like NAPI. It is generally not recommended to write compiler plugins for trivial tasks or saving some bolierplate code, code generator may serve you better.
We are aware of that some compiler plugins are used in some commercial applications so that we are not going to make any changes in the next major version (V10).
Moving forward, we are going to provide our own compiler libs, so if you do want to write compiler plugins (I hope you do not), you need develop your AST transformations based on our provided compiler libs. To make that transition easier, you are encouraged to have your current compiler plugin have less dependencies. For example, if your current ast transformations only depends the type definitions without any third party dependencies, it should be easy to adapt it for rescript compiler libs.
For some commonly used derivings, for example, comparison deriving, we will investigate that if we could provide built-in support.