companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
Tuplanolla has quit [Quit: Leaving.]
Haudegen has quit [Quit: Bin weg.]
tremon has quit [Quit: getting boxed in]
wbooze has joined #ocaml
wbooze has quit [Read error: Connection reset by peer]
wbooze has joined #ocaml
ygrek has joined #ocaml
wbooze has quit [Ping timeout: 252 seconds]
ygrek has quit [Remote host closed the connection]
chiselfuse has quit [Ping timeout: 264 seconds]
chiselfuse has joined #ocaml
myrkraverk has joined #ocaml
myrkraverk_ has quit [Ping timeout: 244 seconds]
Humean has quit [Ping timeout: 244 seconds]
wbooze has joined #ocaml
wbooze has quit [Read error: Connection reset by peer]
wbooze has joined #ocaml
hwj has joined #ocaml
Serpent7776 has joined #ocaml
myrkraverk_ has joined #ocaml
myrkraverk has quit [Ping timeout: 268 seconds]
bartholin has joined #ocaml
Haudegen has joined #ocaml
wbooze has quit [Read error: Connection reset by peer]
dhil has joined #ocaml
bartholin has quit [Quit: Leaving]
hwj has quit [Ping timeout: 276 seconds]
dhil has quit [Ping timeout: 252 seconds]
dhil has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
wbooze has joined #ocaml
wbooze has quit [Quit: Leaving]
ygrek has joined #ocaml
Humean has joined #ocaml
switchy has quit [Ping timeout: 248 seconds]
switchy has joined #ocaml
trillion_exabyte has quit [Ping timeout: 268 seconds]
trillion_exabyte has joined #ocaml
switchy has quit [Ping timeout: 265 seconds]
switchy has joined #ocaml
Guest47 has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
dhil has quit [Ping timeout: 248 seconds]
Guest47 has quit [Quit: Client closed]
Inline has joined #ocaml
Inline has quit [Client Quit]
Inline has joined #ocaml
Haudegen has joined #ocaml
Inline has quit [Quit: Leaving]
quernd1 has quit [Quit: The Lounge - https://thelounge.chat]
quernd1 has joined #ocaml
bartholin has joined #ocaml
<discocaml> <planck_point> d
<discocaml> <planck_point> some channels are locked I believe.
<discocaml> <planck_point> some channels are locked I believe. oh well
<discocaml> <nojaf> If I want to create my own lsp server using ocaml, which package would I need for that `lsp` or `ocaml-lsp-server`.
<discocaml> <nojaf> I'm struggling to find out which has the building blocks. And whether `ocaml-lsp-server` is the implementation for the ocaml lsp server?
<companion_cube> only lsp
<companion_cube> lsp is the building block
Anarchos has joined #ocaml
myrkraverk has joined #ocaml
Tuplanolla has joined #ocaml
myrkraverk_ has quit [Ping timeout: 248 seconds]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
ygrek has quit [Remote host closed the connection]
troydm has joined #ocaml
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
<discocaml> <dubious245> Ocaml doesn't use llvm right? Does it have a compiler library to help with writing the compiler and others like that lsp library?
<discocaml> <._null._> No / ocaml-compiler-libs
<discocaml> <dubious245> Oh neat. I might actually attempt to write my own language. I've always wanted to try.
<discocaml> <octachron> compiler-libs is more the library used to build the OCaml compiler rather than a generic compiler library.
<discocaml> <dubious245> Ah.
<discocaml> <dubious245> Its open source though so I could sit down with a bag a chips and see how things are done?
<discocaml> <octachron> Yes, but I am not sure if one bag of chips would be enough.
<discocaml> <barconstruction> SML/NJ forked LLVM to add support for tail recursion. You could look at their fork
<bartholin> I have a problem installing raylib from opam
<bartholin> here is the output of opam install raylib: https://pastebin.com/NwxHzNM4
<bartholin> my switch is ocaml-variants.5.3.0+options
<discocaml> <._null._> The conf-* packages are for external dependencies
<bartholin> but all of these conf-* packages are already installed
<bartholin> e.g. $ pacman -Ss libxcursor
<bartholin> extra/libxcursor 1.2.3-1 [installed]
<bartholin> X cursor management library
<bartholin> and opam install conf-libxcursor fails
<discocaml> <._null._> What happens when you run `pkg-config xcursor` ?
<bartholin> I get an [ERROR] The compilation of conf-libxcursor.1 failed at "pkg-config xcursor"
<bartholin> wait
<bartholin> pkg-config xcursor does nothing successfully
<bartholin> and pkg-config --libs xcursor prints -lXcursor
<discocaml> <._null._> Retry `opam install conf-libxcursor -vvv`
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<bartholin> I don't understand the error https://pastebin.com/5GPzvzq8
<discocaml> <._null._> Seems like your sandboxing is broken
<discocaml> <._null._> I guess you could try moving your `.opam` folder away, reinitializing (with `--bare` so it's quicker), then `opam switch create test --empty` and again `opam install conf-libxcursor -vvv`
<bartholin> now it works
<discocaml> <._null._> With `opam --root=<where you moved the old .opam> switch export /tmp/somefile` then `opam switch import /tmp/somefile` you'll transfer the packages
<bartholin> I've reinstalled everything, it works now
Serpent7776 has quit [Ping timeout: 265 seconds]
bartholin has quit [Quit: Leaving]
Tuplanolla has quit [Quit: Leaving.]
Haudegen has quit [Quit: Bin weg.]