Discussion:
[Caml-list] converting ocaml libraries to bucklescript
(too old to reply)
Martin DeMello
2016-10-13 18:59:58 UTC
Permalink
Hi,

I'm just starting to explore bucklescript, and from what I can gather, any
libraries you want to use with it have to be checked out as source and
compiled via bucklescript too. What are other people doing - copying
sources into their project tree and compiling in one go, or compiling the
libraries as separate npm packages and then depending on them?

I found https://github.com/npm-ml but there are very few libraries in
there, and when I looked at yojson it just seemed to be a fork of the main
project with no changes. Is there some other place people are collecting
libraries they have converted to npm, or forked and added bucklescript
build files for?

martin
--
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
Roma Sokolov
2016-10-14 10:18:00 UTC
Permalink
Hi Martin,

Just for the record — there is an issue about this on github — https://github.com/bloomberg/bucklescript/issues/706 <https://github.com/bloomberg/bucklescript/issues/706>.

As far as I understand, currently there is no other way apart from what you’ve described.

Roma
Hi,
I'm just starting to explore bucklescript, and from what I can gather, any libraries you want to use with it have to be checked out as source and compiled via bucklescript too. What are other people doing - copying sources into their project tree and compiling in one go, or compiling the libraries as separate npm packages and then depending on them?
I found https://github.com/npm-ml <https://github.com/npm-ml> but there are very few libraries in there, and when I looked at yojson it just seemed to be a fork of the main project with no changes. Is there some other place people are collecting libraries they have converted to npm, or forked and added bucklescript build files for?
martin
--
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
Loading...