companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.11 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.11/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 256 seconds]
vicfred has quit [Quit: Leaving]
mxns has joined #ocaml
mxns has quit [Ping timeout: 256 seconds]
mengu_ has joined #ocaml
mengu has quit [Remote host closed the connection]
mengu_ has quit [Ping timeout: 246 seconds]
boxscape has joined #ocaml
mxns has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
mxns has quit [Ping timeout: 264 seconds]
iZsh_ has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
mxns has joined #ocaml
zebrag has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
iZsh has quit [Quit: ZNC - http://znc.in]
arecaceae has quit [Remote host closed the connection]
arecaceae has joined #ocaml
iZsh has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 256 seconds]
wagle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wagle has joined #ocaml
iZsh has quit [Quit: ZNC - http://znc.in]
iZsh has joined #ocaml
mxns has joined #ocaml
iZsh has quit [Quit: ZNC - http://znc.in]
iZsh has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 272 seconds]
richbridger has joined #ocaml
aquijoule_ has quit [Ping timeout: 272 seconds]
iZsh has quit [Quit: ZNC - http://znc.in]
boxscape has quit [Quit: Ping timeout (120 seconds)]
iZsh has joined #ocaml
boxscape has joined #ocaml
iZsh_ has quit [Quit: ZNC - http://znc.in]
iZsh_ has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
vicfred has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 272 seconds]
iZsh_ has quit [Quit: ZNC - http://znc.in]
mxns has joined #ocaml
iZsh_ has joined #ocaml
boxscape has quit [Quit: Connection closed]
boxscape has joined #ocaml
mxns has quit [Ping timeout: 272 seconds]
mxns has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
iZsh has quit [Quit: ZNC - http://znc.in]
iZsh has joined #ocaml
mengu has joined #ocaml
iZsh_ has quit [Ping timeout: 256 seconds]
mengu has quit [Ping timeout: 272 seconds]
mfp_ has quit [Ping timeout: 272 seconds]
boxscape has quit [Ping timeout: 240 seconds]
mbuf has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
zebrag has quit [Quit: Konversation terminated!]
mxns has quit [Ping timeout: 264 seconds]
mxns has joined #ocaml
borne has quit [Ping timeout: 264 seconds]
mxns has quit [Ping timeout: 260 seconds]
borne has joined #ocaml
sz0 has joined #ocaml
vicfred has quit [Quit: Leaving]
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
waleee-cl has quit [Quit: Connection closed for inactivity]
mxns has quit [Ping timeout: 260 seconds]
mengu has joined #ocaml
mengu has quit [Ping timeout: 240 seconds]
mengu has joined #ocaml
Drup has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
vsiles has quit [Ping timeout: 260 seconds]
vsiles has joined #ocaml
borne has quit [Ping timeout: 272 seconds]
Drup has joined #ocaml
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
decentpenguin has quit [Read error: Connection reset by peer]
decentpenguin has joined #ocaml
shawnw has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
Haudegen has joined #ocaml
rpcope has quit [Ping timeout: 240 seconds]
rpcope has joined #ocaml
osa1_ has joined #ocaml
osa1 has quit [Ping timeout: 265 seconds]
krkini has joined #ocaml
kini has quit [Ping timeout: 260 seconds]
borne has joined #ocaml
krkini has quit [Quit: bye]
arecaceae has quit [Remote host closed the connection]
arecaceae has joined #ocaml
kini has joined #ocaml
Tuplanolla has joined #ocaml
chimay[m] has quit [Quit: Idle for 30+ days]
olle has joined #ocaml
bartholin has joined #ocaml
arecaceae has quit [Ping timeout: 240 seconds]
shawnw__ has joined #ocaml
shawnw has quit [Read error: Connection reset by peer]
shawnw has joined #ocaml
shawnw__ has quit [Ping timeout: 264 seconds]
cantstanya has quit [Ping timeout: 268 seconds]
cantstanya has joined #ocaml
ewd has joined #ocaml
dhil has joined #ocaml
kini has quit [Remote host closed the connection]
kini has joined #ocaml
nullcone has quit [Quit: Connection closed for inactivity]
mxns has joined #ocaml
mfp_ has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
zebrag has joined #ocaml
aquijoule_ has joined #ocaml
richbridger has quit [Ping timeout: 272 seconds]
boxscape has joined #ocaml
ArthurStrong has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mxns has joined #ocaml
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
companion_cube has quit [Ping timeout: 260 seconds]
companion_cube has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 272 seconds]
_ks has quit [Quit: WeeChat 2.9]
bjorkint0sh has quit [Ping timeout: 240 seconds]
_ks has joined #ocaml
mxns has joined #ocaml
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
mbuf has quit [Quit: Leaving]
mxns has quit [Ping timeout: 256 seconds]
mxns has joined #ocaml
shawnw has quit [Ping timeout: 240 seconds]
waleee-cl has joined #ocaml
Haudegen has joined #ocaml
raver has quit [Read error: Connection reset by peer]
ArthurStrong has quit [Quit: leaving]
<d_bot> <Lupus> is there a way to attach some side-channel information to all tokens in menhir? I want to capture all comments and attach a list of preceding comments to each token
<d_bot> <Lupus> I could do that by specifying token type, but that seems very verbose
<d_bot> <Lupus> may be there is something more convenient? 🤔
<companion_cube> you could have comment tokens
<companion_cube> and aggregate them in the parser
<companion_cube> look at how OCaml handles attributes
<d_bot> <Lupus> is the aggregation hand-coded for each rule?
<d_bot> <Lupus> I'll look at OCaml parser, thanks!
<companion_cube> I think it collects attributes a bit like this
<companion_cube> (including docstrings)
tane has joined #ocaml
<sleepydog> Lupus: funny, i just had that exact problem
<sleepydog> what i did was keep a global hash table of comments by end position, and used $startofs in the parser to access it
zolk3ri has quit [Remote host closed the connection]
<companion_cube> I don't know how ocamlformat, works, it must be a pain
zolk3ri has joined #ocaml
mxns has quit [Ping timeout: 265 seconds]
nullcone has joined #ocaml
mengu has quit []
olle has quit [Ping timeout: 265 seconds]
boxscape has quit [Quit: Connection closed]
boxscape has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
<d_bot> <Lupus> > what i did was keep a global hash table of comments by end position, and used $startofs in the parser to access it
<d_bot> <Lupus> sounds better than putting this into each token variant constructor
boxscape has quit [Quit: Connection closed]
boxscape has joined #ocaml
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #ocaml
borne has quit [Ping timeout: 264 seconds]
mxns has joined #ocaml
bartholin has quit [Quit: Leaving]
azot has quit [Remote host closed the connection]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
azot has joined #ocaml
boxscape has quit [Quit: Connection closed]
zolk3ri has quit [Remote host closed the connection]
zolk3ri has joined #ocaml
Haudegen has joined #ocaml
boxscape has joined #ocaml
dckc- has joined #ocaml
DanC has quit [Ping timeout: 260 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
zolk3ri has joined #ocaml
<d_bot> <hhugo> Ocamlformat collect all comments after parsing and attach them back to ast nodes based on location.
boxscape has quit [Quit: Connection closed]
boxscape has joined #ocaml
boxscape has quit [Client Quit]
boxscape has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
zolk3ri has joined #ocaml
xeno__ has joined #ocaml
azot has quit [Remote host closed the connection]
mxns has quit [Ping timeout: 256 seconds]
mxns has joined #ocaml
boxscape has quit [Quit: Connection closed]
boxscape has joined #ocaml
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
<d_bot> <giltho> Hi, I don't really know where to ask but there's an issue with the instructions given here :
<d_bot> <giltho> It seems that `opam install dune merlin.3.4.1 dot-merlin-reader.3.4.1 ocaml-lsp-server` fails with
<d_bot> <giltho> ```
<d_bot> <giltho> ### output ###
<d_bot> <giltho> # File "_build/.dune/default/src/ocaml/utils/dune", line 9, characters 34-47:
<d_bot> <giltho> # 9 | (modules_without_implementation result_compat))
<d_bot> <giltho> # ^^^^^^^^^^^^^
<d_bot> <giltho> # Error: Module Result_compat doesn't exist.
<d_bot> <giltho> ```
Ben57 has quit [Ping timeout: 240 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
raver has joined #ocaml
ewd has quit [Ping timeout: 272 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
borne has joined #ocaml
tane has quit [Quit: Leaving]
RalfJ has quit [Remote host closed the connection]
RalfJ has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]