Hello. I’m looking to use these two libraries in a rescript side project that I’m doing. And I’m wondering how you would guys approach it.
I was thinking, maybe starting to use it in the application by embedding pieces of JS with raw, just to get an idea of how it could work and what I actually want to do before writing any bindings.
Both libraries have a nontrivial api that is very dynamic, as usual.
Once I kind of know what I want, would you just sit down to write bindings for the whole library? Sounds very tedious to me.
Would you look at the .d.ts files? I did and they are a mess to decipher, the docs on the website explain how to use the library so maybe that would be a better place to base the bindings on?
Do you use LLMs to assist with binding creation? Which ones and what do you give them in the prompt?
Bunch of open questions, but I’m interested to know how you would approach this to make it as painless and safe as possible.