3 ms·
I love OCaml the language, but the tooling, especially wrt building (ocamlbuild, Oasis etc) , is horrendous. That said, the situation is much better now, than s
by plinkplonk 11y ago
I love OCaml the language, but the tooling, especially wrt building (ocamlbuild, Oasis etc) , is horrendous. That said, the situation is much better now, than say 5 years ago.
- unhammer 11y agoSome of the tooling is really great, e.g. opam Just Works, utop feels very comfortable and merlin is amazing[1]. The lack of a standard build system is annoying yeah; I tried for a while to make do with just ocamlbuild and a Makefile, but eventually gave in and learnt Oasis, and it does the job just fine for my purposes, just feels a bit messy (compared to something like cabal, which at first sight hides a lot of the intermediate steps). [1] http://the-lambda-church.github.io/merlin/destruct.ogv http://the-lambda-church.github.io/merlin/destruct.ogv http://the-lambda-church.github.io/merlin/merlin-vim.ogv http://the-lambda-church.github.io/merlin/merlin-vim.ogv
- e_d_g_a_r 11y agoAgreed. FWIW I basically use the same _oasis file over and over again, it literally takes only 5 minutes to set up a project's needed boilerplate, _oasis, .merlin and opam directory.
- laumars 11y agoIs there any good guides on how to do this? Or are your oasis template files shared online?
- e_d_g_a_r 11y agoI just amended the blog post with a cradle to grave example of creating _oasis, .merlin and opam directory for any OCaml project.
- plinkplonk 11y agoVery useful. Thank You! I basically gave up on OCaml for anything but toy projects, but I may re consider that decision if this works for me.
- Drup 11y agohttp://ocaml.org/learn/tutorials/setting_up_with_oasis.html http://ocaml.org/learn/tutorials/setting_up_with_oasis.html