<dr_df0>
I've posted it in StackOverflow, but it's quiet there
<dr_df0>
Thanks in advance
<Armael>
when running dune utop you'll only get the libraries of your project, not the executables, AFAIK
<dr_df0>
ok, so the only way is to make your executable part as small as possible and move the rest to the libraries, right?
<Armael>
yeah
<dr_df0>
Thanks!
dr_df0 has quit [Ping timeout: 252 seconds]
dr_df0 has joined #ocaml
dr_df0 has quit [Quit: leaving]
dr_df0 has joined #ocaml
hsw has quit [Quit: Leaving]
hsw has joined #ocaml
<dr_df0>
qq: I have emacs configured with merlin (installed via opam), but when I open a project with .merlin file in it I can't search for symbols other that from standard libraries
<dr_df0>
any ideas?
<Armael>
with recent merlin versions you shouldn't use .merlin files anymore
<Armael>
(instead I believe merlin directly communicates with eg dune)
<dr_df0>
the problem is that I wanted to look at the codebase that is not using dune, so I can't start `dune utop .` environment
<dr_df0>
technically speaking dune is running as a daemon on the system, so merlin probably can't communicate with it :)
<dr_df0>
my understanding is that with dune you can start toplevel ocaml process (like utop) with all libs and dependecies defined via dune loaded
<Armael>
ah mm, if the project has .merlin files and doesn't use dune, maybe try installing dot-merlin-reader ? (in opam)
<dr_df0>
got tip! I'll try that
<Armael>
not completely sure about this, but IIRC either merlin talks to dune if dune is used to build the project, or you can use .merlin files and it will talk to dot-merlin-reader that will in turn read the .merlin files
olle has joined #ocaml
Haudegen has joined #ocaml
dr_df0 has quit [Ping timeout: 244 seconds]
waleee has joined #ocaml
dr_df0 has joined #ocaml
<dr_df0>
FYI - I was able to put merlin to work for a simple two file project (main and a module), but I had to add `-bin-annot` option to the ocamlopt compiler to generate .cmt files that merlin apparently uses when used in conjunction with .merlin config file
cedric has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
bartholin has joined #ocaml
mro has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 268 seconds]
dr_df0 has quit [Ping timeout: 248 seconds]
bartholin has quit [Ping timeout: 248 seconds]
Haudegen has quit [Ping timeout: 248 seconds]
jmiven has quit [Quit: reboot]
Haudegen has joined #ocaml
jmiven has joined #ocaml
azimut has joined #ocaml
bartholin has joined #ocaml
perrierjouet has quit [Quit: WeeChat 3.6]
perrierjouet has joined #ocaml
John_Ivan has joined #ocaml
bartholin has quit [Ping timeout: 248 seconds]
bartholin has joined #ocaml
mbuf has joined #ocaml
jpds1 has quit [Remote host closed the connection]
jpds1 has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
cedric has quit [Quit: Konversation terminated!]
azimut has quit [Ping timeout: 258 seconds]
spip has joined #ocaml
azimut has joined #ocaml
bobo_ has quit [Ping timeout: 244 seconds]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
bartholin has quit [Ping timeout: 248 seconds]
Haudegen has quit [Quit: Bin weg.]
bartholin has joined #ocaml
mbuf has quit [Read error: Connection reset by peer]