3 ms·
You could write your app using the Elm-inspired Bucklescript-TEA [0] framework in OCaml, and use js_of_ocaml to transpile OCaml into JavaScript. [0] - https://
by deathtrader666 7y ago
You could write your app using the Elm-inspired Bucklescript-TEA [0] framework in OCaml, and use js_of_ocaml to transpile OCaml into JavaScript.
[0] - https://github.com/OvermindDL1/bucklescript-tea https://github.com/OvermindDL1/bucklescript-tea
- pkilgore 7y agoIn what ways does it fix my major issues with bucklescript (simple interop with JS libraries / object / output, promises, async/await being highest on the list).
- deathtrader666 7y agoWith js_of_ocaml, you need not use Bucklescript at all. Both are transpilers for OCaml -> JavaScript.
- wtetzner 7y agoIs Bucklescript-TEA available through OPAM, or only through NPM? EDIT: Nevermind [1] https://github.com/OvermindDL1/bucklescript-tea/issues/45 https://github.com/OvermindDL1/bucklescript-tea/issues/45
- wtetzner 7y agoI have to say though, the ELM architecture actually lends itself better to OCaml than ELM, because functors give you a really nice way to compose components.