Wanted to know how can i install rescript-compiler as a library in my OCaml project? I found a rescript-syntax documentation which says it has some APIs to get the parsetree for a rescript file. But its been moved to rescript-compiler repository. So wanted to know how to use that?
Here’s the rescript-syntax repo. It has an example API usage in their readme -