00:07
favonia has quit [Ping timeout: 255 seconds]
00:08
favonia has joined #ocaml
00:20
favonia has quit [Ping timeout: 255 seconds]
00:21
favonia has joined #ocaml
00:42
adinf has quit [Ping timeout: 255 seconds]
00:55
adinf has joined #ocaml
01:29
waleee has quit [Ping timeout: 256 seconds]
01:33
Serpent7776 has quit [Read error: Connection reset by peer]
01:33
eight has quit [Quit: leaving]
01:33
Serpent7776 has joined #ocaml
02:32
favonia has quit [Ping timeout: 255 seconds]
02:35
favonia has joined #ocaml
03:15
favonia has quit [Ping timeout: 256 seconds]
03:20
favonia has joined #ocaml
03:46
mbuf has joined #ocaml
03:50
zebrag has quit [Remote host closed the connection]
04:06
adinf has quit [Ping timeout: 255 seconds]
05:05
mro has joined #ocaml
05:10
mro has quit [Ping timeout: 268 seconds]
05:55
gravicappa has joined #ocaml
06:30
dhil has joined #ocaml
06:52
sagax has joined #ocaml
07:06
Haudegen has joined #ocaml
07:09
<
d_bot >
<sarna> hey I'm trying to parse some ini files. I found `ocaml-inifiles` on opam, but where's the source/documentation for it?
07:09
<
d_bot >
<sarna> all the links I found were dead ends
07:29
glassofethanol has joined #ocaml
08:12
mbuf has quit [Quit: Leaving]
08:14
Tuplanolla has joined #ocaml
08:27
olle has joined #ocaml
08:35
<
d_bot >
<sarna> found the source - from 2004, LGPL, uses classes
08:43
<
Armael >
ye I've also wondered before why there's no good library for ini files
08:43
<
d_bot >
<andreypopp> probably some toml parser could be adapted to parse ini?
08:43
<
d_bot >
<andreypopp> "loose mode" toml
09:06
rwmjones|afk is now known as rwmjones
09:21
<
d_bot >
<sarna> Armael: especially when it should be fairly easy to write when you know stuff like menhir (I don't)
09:22
<
d_bot >
<sarna> wouldn't it be easier to just write an ini parser?
09:31
<
d_bot >
<andreypopp> maybe, I'm not a fan of either but my understanding was that TOML is a "specified INI" with extra complexity on top
09:52
mro has joined #ocaml
09:56
mro has quit [Ping timeout: 255 seconds]
10:19
olle has quit [Remote host closed the connection]
10:25
olle has joined #ocaml
10:36
bartholin has joined #ocaml
11:17
<
d_bot >
<sarna> I liked TOML until I tried actually using it haha
11:17
<
d_bot >
<sarna> do you have a preference? I'm curious
11:23
<
d_bot >
<andreypopp> For user-specified config files?
11:23
<
d_bot >
<andreypopp>
11:23
<
d_bot >
<andreypopp> Something with jsonschema support (editors can provide diagnostics and completion based on it) — json with relaxed syntax (comments, allowed, trailing commas), strict subset of YAML.
11:33
<
d_bot >
<sarna> ah, but then editor support is meh
11:34
<
d_bot >
<sarna> (I mean when you use json with relaxed syntax)
11:44
<
d_bot >
<sarna> unless I'm missing something?
11:53
Haudegen has quit [Quit: Bin weg.]
11:54
<
d_bot >
<andreypopp> I think vscode is fine with that (and this is probably the only popular editor which supports jsonschema validation out of the box)... so it depends on what audience you are targeting... yaml is also fine I think (especially if you stay with some strict subset)
12:00
reynir has quit [Quit: WeeChat 2.3]
12:12
adinf has joined #ocaml
12:16
adinf has quit [Client Quit]
13:01
Haudegen has joined #ocaml
13:01
mro has joined #ocaml
13:04
<
companion_cube >
@andreypopp you mean json5
13:05
waleee has joined #ocaml
13:05
mro has quit [Ping timeout: 245 seconds]
13:06
<
d_bot >
<andreypopp> @companion_cube I think there are multiple "dialects" of that thing, I think vscode calls it jsonc (json with comments)
13:08
<
companion_cube >
vscode does its own thing as always
13:08
<
companion_cube >
at least that one is a bit more fleshed out imho
13:29
zebrag has joined #ocaml
13:33
<
d_bot >
<Christophe> oh god yes trailing comma
13:34
<
companion_cube >
yes please
15:54
olle has quit [Ping timeout: 252 seconds]
15:58
<
dmbaturin >
companion_cube: Out of curiosity, what's good about trailing commas? I'm not against them, I just wonder what use cases are made easier.
16:07
<
companion_cube >
dmbaturin: editing the godamn file :D
16:07
glassofethanol has quit [Quit: leaving]
16:07
<
companion_cube >
just put a comma after each field
16:07
<
companion_cube >
so you can delete/add them easily
16:07
<
companion_cube >
or shuffle them
16:07
<
companion_cube >
same with OCaml btw.
16:33
hannes has quit [Quit: leaving]
16:35
Haudegen has quit [Quit: Bin weg.]
16:52
hannes has joined #ocaml
17:07
<
d_bot >
<leviroth> It also makes for nicer diffs
17:11
mro has joined #ocaml
17:15
mro has quit [Ping timeout: 255 seconds]
17:17
olle has joined #ocaml
17:18
bartholin has quit [Quit: Leaving]
17:40
Haudegen has joined #ocaml
17:43
favonia has quit [Ping timeout: 255 seconds]
17:45
mro has joined #ocaml
17:46
mro has quit [Remote host closed the connection]
17:47
mro has joined #ocaml
17:47
mro has quit [Remote host closed the connection]
17:54
favonia has joined #ocaml
17:56
olle has quit [Ping timeout: 265 seconds]
18:23
favonia has quit [Ping timeout: 240 seconds]
18:30
favonia has joined #ocaml
18:38
favonia has quit [Ping timeout: 252 seconds]
18:38
favonia has joined #ocaml
18:59
dhil has quit [Remote host closed the connection]
19:16
Techcable has joined #ocaml
19:17
favonia has quit [Ping timeout: 256 seconds]
19:17
favonia has joined #ocaml
19:22
cedric has joined #ocaml
19:26
favonia has quit [Ping timeout: 255 seconds]
19:32
favonia has joined #ocaml
19:33
Stumpfenstiel has joined #ocaml
19:47
favonia has quit [Ping timeout: 240 seconds]
19:50
favonia has joined #ocaml
20:01
favonia has quit [Ping timeout: 245 seconds]
20:03
favonia has joined #ocaml
20:14
gravicappa has quit [Ping timeout: 258 seconds]
21:04
favonia has quit [Ping timeout: 256 seconds]
21:05
favonia has joined #ocaml
21:15
zebrag has quit [Ping timeout: 268 seconds]
21:39
oriba has joined #ocaml
22:15
favonia has quit [Ping timeout: 255 seconds]
22:19
favonia has joined #ocaml
22:25
waleee has quit [Ping timeout: 252 seconds]
22:27
waleee has joined #ocaml
22:40
Stumpfenstiel has quit [Ping timeout: 268 seconds]
22:41
Tuplanolla has quit [Quit: Leaving.]
22:46
zebrag has joined #ocaml
22:49
cedric has quit [Quit: Konversation terminated!]
22:56
Haudegen has quit [Ping timeout: 258 seconds]
23:06
hackinghorn has quit [Remote host closed the connection]
23:06
hackinghorn has joined #ocaml
23:07
terrorjack has quit [Quit: Ping timeout (120 seconds)]
23:07
ralu has quit [Quit: Ping timeout (120 seconds)]
23:07
ralu has joined #ocaml
23:08
hexology has quit [Quit: hex on you ...]
23:08
hexology has joined #ocaml
23:08
terrorjack has joined #ocaml
23:18
favonia has quit [Ping timeout: 245 seconds]
23:20
favonia has joined #ocaml
23:28
ski has quit [Ping timeout: 268 seconds]
23:29
ski has joined #ocaml