2025/08/05

Newest at the top

2025-08-05 06:29:09 +0200fgarcia(~lei@user/fgarcia) (Ping timeout: 248 seconds)
2025-08-05 06:27:24 +0200caubert(~caubert@user/caubert) caubert
2025-08-05 06:25:09 +0200Unicorn_Princess(~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection)
2025-08-05 06:22:16 +0200marinelli(~weechat@gateway/tor-sasl/marinelli) (Quit: marinelli)
2025-08-05 06:21:38 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds)
2025-08-05 06:21:19 +0200jmcantrell(~weechat@user/jmcantrell) jmcantrell
2025-08-05 06:15:34 +0200caubert(~caubert@user/caubert) (Ping timeout: 260 seconds)
2025-08-05 06:15:11 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-08-05 06:10:41 +0200aku(aku@2a01:4f9:c010:836c::1) eagleflo
2025-08-05 06:04:58 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 272 seconds)
2025-08-05 06:00:17 +0200euphores(~SASL_euph@user/euphores) euphores
2025-08-05 05:59:48 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-08-05 05:59:09 +0200aku(aku@65.108.245.241) (Quit: Lost terminal)
2025-08-05 05:50:14 +0200Frostillicus(~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net)
2025-08-05 05:48:58 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2025-08-05 05:48:06 +0200Frostillicus(~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Ping timeout: 276 seconds)
2025-08-05 05:44:26 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-08-05 05:34:22 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
2025-08-05 05:28:56 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-08-05 05:17:54 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-08-05 05:14:39 +0200 <euouae> fun
2025-08-05 05:13:33 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-08-05 05:12:55 +0200 <c_wraith> So it's like... it works, but there are a few mines.
2025-08-05 05:12:23 +0200 <c_wraith> A lot of it works, but specific combinators just make it hang when generating the Grammar
2025-08-05 05:11:52 +0200 <euouae> can nothing be salvaged from parser-combinators for Earley?
2025-08-05 05:11:14 +0200 <c_wraith> (because Earley needs explicit recursion breakers to build statci tables)
2025-08-05 05:11:13 +0200caubert(~caubert@user/caubert) caubert
2025-08-05 05:10:31 +0200 <c_wraith> except Earley, annoyingly.
2025-08-05 05:10:25 +0200 <c_wraith> yeah, it should be compatible with basically every parsing library.
2025-08-05 05:10:14 +0200 <euouae> (the whole thing with get/setInput wasn't working out)
2025-08-05 05:09:57 +0200 <euouae> neat! I use attoparsec, but I do use parser-combinators too I think
2025-08-05 05:09:18 +0200 <c_wraith> And it's a dependency of megaparsec
2025-08-05 05:08:58 +0200 <c_wraith> the parser-combinators library also provides permutation parsing
2025-08-05 05:08:27 +0200 <euouae> Thankss, earlier I found this technical report from uu-parsinglib <https://web.archive.org/web/20211016145459/http://www.cs.uu.nl/research/techreps/repo/CS-2013/2013…> that mentions it. I'll take a look.
2025-08-05 05:06:39 +0200 <c_wraith> yeah
2025-08-05 05:05:27 +0200 <euouae> Foo{x=1,y=2} and Foo{y=2,x=1} and so on?
2025-08-05 05:05:17 +0200trickard_(~trickard@cpe-56-98-47-163.wireline.com.au)
2025-08-05 05:05:16 +0200 <euouae> Is permutation parsing the one where the "order" doesn't matter?
2025-08-05 05:05:07 +0200 <euouae> I'll try my own then because I don't want to encounter the issue later.
2025-08-05 05:05:03 +0200trickard_(~trickard@cpe-56-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-08-05 05:04:57 +0200 <c_wraith> Note that if you're doing your own, permutation parsing is often your friend.
2025-08-05 05:04:15 +0200 <c_wraith> All the existing libraries match some standard or another. if m4 doesn't match those standards, you're writing your own
2025-08-05 05:03:06 +0200 <Clint> euouae: depends on how arbitrary perhaps
2025-08-05 05:02:29 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-08-05 04:58:10 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-08-05 04:58:01 +0200 <euouae> I'm a bit afraid that if I write my own cmdarg parser it will be very caveman-like
2025-08-05 04:57:58 +0200caubert(~caubert@user/caubert) (Ping timeout: 240 seconds)
2025-08-05 04:57:42 +0200 <euouae> I'm wondering if Haskell has a package that is general enough to allow arbitrary behavior? Or should i write my own command-line parser?
2025-08-05 04:57:22 +0200 <euouae> When I tried to do this in Python I ended up running into a wall because I used a library for command-line arguments that deviated from the intended behavior
2025-08-05 04:56:59 +0200 <euouae> Hello I'm trying to mirror the behavior of a unix utility, so I want to copy 100% of its command-line arguments, e.g.