<discocaml>
<alswearengentm> hi all im getting this error with a menhir parser, and im a bit confused: `Error: program generates the empty language.`
<discocaml>
<alswearengentm> im just trying something really basic:
<discocaml>
<alswearengentm> ```
<discocaml>
<alswearengentm> program:
<discocaml>
<alswearengentm> | e=expr SEMI p=program EOF { e :: p }
<discocaml>
<alswearengentm> ;
<discocaml>
<alswearengentm> ```
<discocaml>
<contificate> there's no base case to your rule
<discocaml>
<contificate> there's no way to reduce a `program`
Serpent7776 has quit [Ping timeout: 246 seconds]
<discocaml>
<contificate> I recommend factoring out another rule which is basically `separated_list(SEMI, expr)` and then have `program: es = expr_list EOF { es }`
Anarchos has joined #ocaml
<discocaml>
<alswearengentm> ah, ok, that makes sense
<discocaml>
<alswearengentm> ill give that a shot. i suppose i need to rtfm some more
<discocaml>
<alswearengentm> that worked, ty
azimut has quit [Ping timeout: 240 seconds]
Tuplanolla has joined #ocaml
spip has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
gwizon has joined #ocaml
keyboard has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
keyboard has quit [Client Quit]
keyboard has joined #ocaml
gwizon_ has joined #ocaml
gwizon has quit [Ping timeout: 260 seconds]
salkin has joined #ocaml
gwizon has joined #ocaml
alexherbo2 has joined #ocaml
keyboard has quit [Ping timeout: 240 seconds]
gwizon_ has quit [Ping timeout: 252 seconds]
Serpent7776 has joined #ocaml
keyboard has joined #ocaml
salkin has quit [Ping timeout: 252 seconds]
keyboard has quit [Remote host closed the connection]
<discocaml>
<deepspacejohn> Hm, I guess it's not just me, since GitHub actions also can't connect.
<discocaml>
<octachron> The gitlab server at inria is down for maintenance, theoretically the whole weekend.
<discocaml>
<octachron> I didn't think about the repercussion on opam, but that's one more reason that makes this gitlab instance mostly unusable.
bartholin has quit [Quit: Leaving]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Remote host closed the connection]
gwizon_ has joined #ocaml
alexherbo2 has joined #ocaml
gwizon has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Remote host closed the connection]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 240 seconds]
gwizon_ has quit [Ping timeout: 240 seconds]
gwizon has joined #ocaml
salkin has joined #ocaml
keyboard has quit [Ping timeout: 260 seconds]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 240 seconds]
salkin has joined #ocaml
alexherbo2 has joined #ocaml
keyboard has quit [Ping timeout: 250 seconds]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 260 seconds]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 250 seconds]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 260 seconds]
keyboard has quit [Ping timeout: 252 seconds]
salkin has joined #ocaml
gwizon has quit [Quit: leaving]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 246 seconds]
keyboard has quit [Ping timeout: 240 seconds]
keyboard has joined #ocaml
salkin has joined #ocaml
keyboard has quit [Ping timeout: 250 seconds]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 258 seconds]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 240 seconds]
azimut has joined #ocaml
keyboard has joined #ocaml
salkin has quit [Ping timeout: 264 seconds]
weird_error has joined #ocaml
salkin has joined #ocaml
keyboard has quit [Ping timeout: 246 seconds]
<discocaml>
<lroche> Shouldn’t the download be from opam’s cache?
keyboard has joined #ocaml
salkin has quit [Ping timeout: 264 seconds]
azimut has quit [Ping timeout: 240 seconds]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 260 seconds]
motherfsck has quit [Ping timeout: 245 seconds]
alexherbo2 has quit [Remote host closed the connection]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 260 seconds]
bartholin has joined #ocaml
motherfsck has joined #ocaml
salkin has joined #ocaml
azimut has joined #ocaml
keyboard has quit [Ping timeout: 245 seconds]
m__ has joined #ocaml
m__ has quit [Remote host closed the connection]
m__ has joined #ocaml
weird_error has quit [Ping timeout: 240 seconds]
m__ has quit [Client Quit]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 250 seconds]
weird_error has joined #ocaml
perrierjouet has quit [Quit: WeeChat 3.8]
perrierjouet has joined #ocaml
keyboard has quit [Ping timeout: 245 seconds]
keyboard has joined #ocaml
perrierjouet has quit [Quit: WeeChat 3.8]
perrierjouet has joined #ocaml
weird_error has quit [Remote host closed the connection]
weird_error has joined #ocaml
Janni has joined #ocaml
Janni has left #ocaml [#ocaml]
Janni has joined #ocaml
salkin has joined #ocaml
keyboard has quit [Ping timeout: 240 seconds]
Janni has quit [Ping timeout: 250 seconds]
perrierjouet has quit [Quit: WeeChat 3.8]
patrick has quit [Killed (tantalum.libera.chat (Nickname regained by services))]
patrick__ has joined #ocaml
perrierjouet has joined #ocaml
weird_error has quit [Ping timeout: 250 seconds]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 250 seconds]
alexherbo2 has joined #ocaml
salkin has joined #ocaml
keyboard has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
keyboard has joined #ocaml
salkin has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
keyboard has quit [Ping timeout: 245 seconds]
keyboard has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
salkin has joined #ocaml
weird_error has joined #ocaml
keyboard has quit [Ping timeout: 264 seconds]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 250 seconds]
weird_error has quit [Ping timeout: 250 seconds]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 240 seconds]
motherfsck has quit [Read error: Connection reset by peer]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 252 seconds]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 260 seconds]
motherfsck has joined #ocaml
keyboard has joined #ocaml
salkin has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Remote host closed the connection]
gareppa has quit [Quit: WeeChat 3.8]
bartholin has quit [Quit: Leaving]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 260 seconds]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 260 seconds]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 258 seconds]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 258 seconds]
alexherbo2 has joined #ocaml
salkin has joined #ocaml
keyboard has quit [Ping timeout: 250 seconds]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
weird_error has quit [Remote host closed the connection]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 264 seconds]
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 250 seconds]
azimut_ has quit [Remote host closed the connection]
azimut has joined #ocaml
salkin has joined #ocaml
keyboard has quit [Ping timeout: 250 seconds]
Janni has quit [Remote host closed the connection]
keyboard has joined #ocaml
salkin has quit [Ping timeout: 250 seconds]
azimut has quit [Ping timeout: 240 seconds]
<discocaml>
<kalalau> Question on this workaround (note, I'm new to OCaml, just started picking it up yesterday) - is the way to use this alternate package w/ `opam pin` ? Also, will it work if Menhir is a transitive dependency? I'm on road so can't try it out myself, but eager to once I get home.
azimut has joined #ocaml
<discocaml>
<._null._> Yes to both. opam will simply take the pin for the versions that get pinned instead of the default repository