Creating bindings to external JS code #475
Closed
WhoAteDaCake
started this conversation in
Language Development
Replies: 1 comment 4 replies
-
Hi @WhoAteDaCake 👋 Mint doesn't have FFI like ReasonML but instead a simpler JavaScript inlining which you can read about on the guide: https://www.mint-lang.com/guide/reference/javascript-interop It works with all sorts of JavaScript libraries like D3. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I was just wondering if you had any ideas or plans about bindings with external javascript languages (e.g. d3)? I guess it would function similar to how Crystal can be bound to existing C libraries.
I've seen reasonml (another compiled to js language) use the following approach:
https://github.com/af/bs-d3/blob/master/src/D3_Line.re
Beta Was this translation helpful? Give feedback.
All reactions