Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Bindings to a JS library with method overloads

$
0
0

I have worked on my own Graphology bindings for ReScript a while ago and worked out most kinks like supporting node/edge attributes and many iteration methods, etc.

Have a look at my repo here GitHub - dsiu/rescript-graphology at rescript-v12 and see if it helps you write your own bindings.

It might be overkill for you since I used quite a bit of module module functions.

You can look at the Demo.res and Demo_AStar.res examples as starting points.


Viewing all articles
Browse latest Browse all 2592

Trending Articles