Newest at the top
2025-05-02 20:05:16 +0200 | <haskellbridge> | <Liamzee> someone ghosted me once for saying attoparsec can be treated as a default when they responded megaparsec is text parser, attoparsec is a bytestring parser |
2025-05-02 20:05:11 +0200 | <yin> | that's not a bad thing :) |
2025-05-02 20:04:52 +0200 | <haskellbridge> | <Liamzee> but it's bytestring specialized |
2025-05-02 20:04:48 +0200 | <haskellbridge> | <Liamzee> oh, it backtracks |
2025-05-02 20:04:28 +0200 | <yin> | Liamzee: ty |
2025-05-02 20:04:28 +0200 | <haskellbridge> | <Liamzee> I don't think flatparse backtracks? Not sure about it. |
2025-05-02 20:04:15 +0200 | <monochrom> | But if you don't have a choice yet and don't mind following popularity, megaparsec is more popular generally, attoparsec is more popular for those who want speed, and parsec or ReadP is more popular among the minority of us who just want what comes with GHC. |
2025-05-02 20:03:53 +0200 | <yin> | that's what i'm trying to learn |
2025-05-02 20:03:26 +0200 | <yin> | monochrom: that's the problem. i don't know what the options are |
2025-05-02 20:03:08 +0200 | <haskellbridge> | <Liamzee> https://gist.github.com/chrisdone/8551675bb99a0d66cf075fdcb1e6b757 |
2025-05-02 20:03:02 +0200 | <yin> | what's the most performant library and what are its main downsides? |
2025-05-02 20:02:50 +0200 | <haskellbridge> | <Liamzee> https://hackage.haskell.org/package/flatparse-0.5.2.1 |
2025-05-02 20:02:47 +0200 | <haskellbridge> | <Liamzee> i'm confusing it with optparse-applicative |
2025-05-02 20:02:44 +0200 | <monochrom> | Then start with what you will finally use. :) |
2025-05-02 20:02:25 +0200 | <haskellbridge> | <Liamzee> erm, flatparse |
2025-05-02 20:02:19 +0200 | <haskellbridge> | <Liamzee> learn flatparse-applicative ;) |
2025-05-02 20:01:58 +0200 | <haskellbridge> | <Liamzee> why is it that programming languages don't const their objects? |
2025-05-02 20:01:58 +0200 | <yin> | monochrom: i understand the theory pretty well. what i mean by learn is "learn how to use the libraries" |
2025-05-02 20:01:20 +0200 | <monochrom> | Depending on what "learn" means, there is also: start with writing your own. |
2025-05-02 20:00:31 +0200 | nurupo | (~nurupo.ga@user/nurupo) nurupo |
2025-05-02 20:00:14 +0200 | nurupo | (~nurupo.ga@user/nurupo) (Quit: nurupo.ga) |
2025-05-02 19:59:54 +0200 | <haskellbridge> | <hellwolf> *ReadP |
2025-05-02 19:59:40 +0200 | <haskellbridge> | from base to ease in? |
2025-05-02 19:59:40 +0200 | <haskellbridge> | <hellwolf> Text.ParserCombinators.Read |
2025-05-02 19:57:34 +0200 | <yin> | should i start with parsec, megaparsec, attoparsec... ? |
2025-05-02 19:55:09 +0200 | acidjnk_new | (~acidjnk@p200300d6e71c4f97b8ab1cde68040873.dip0.t-ipconnect.de) acidjnk |
2025-05-02 19:55:08 +0200 | <yin> | ok, time to learn parser combinators |
2025-05-02 19:52:00 +0200 | crns | (~crns@user/crns) crns |
2025-05-02 19:51:37 +0200 | alt-crns | (~crns@dynamic-176-000-052-024.176.0.pool.telefonica.de) (Read error: Connection reset by peer) |
2025-05-02 19:49:22 +0200 | euleritian | (~euleritia@ip4d17f82f.dynamic.kabel-deutschland.de) |
2025-05-02 19:49:04 +0200 | euleritian | (~euleritia@dynamic-176-000-197-165.176.0.pool.telefonica.de) (Read error: Connection reset by peer) |
2025-05-02 19:47:49 +0200 | ChanServ | +v haskellbridge |
2025-05-02 19:47:49 +0200 | haskellbridge | (~hackager@syn-024-093-192-219.res.spectrum.com) hackager |
2025-05-02 19:45:02 +0200 | haskellbridge | (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection) |
2025-05-02 19:44:59 +0200 | tromp | (~textual@2001:1c00:3487:1b00:31c9:5f27:18bf:4d4e) |
2025-05-02 19:44:59 +0200 | todi | (~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 245 seconds) |
2025-05-02 19:39:33 +0200 | todi | (~todi@p57803331.dip0.t-ipconnect.de) todi |
2025-05-02 19:37:19 +0200 | todi | (~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) |
2025-05-02 19:36:33 +0200 | pavonia | (~user@user/siracusa) siracusa |
2025-05-02 19:35:11 +0200 | tolgo | (~Thunderbi@199.115.144.130) |
2025-05-02 19:32:54 +0200 | tromp | (~textual@2001:1c00:3487:1b00:31c9:5f27:18bf:4d4e) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2025-05-02 19:30:56 +0200 | <haskellbridge> | <sm> tcard do you have https://web.cs.dal.ca/~nzeh/Teaching/3137/haskell/ in your books list ? I don't think so |
2025-05-02 19:28:12 +0200 | euleritian | (~euleritia@dynamic-176-000-197-165.176.0.pool.telefonica.de) |
2025-05-02 19:28:01 +0200 | euleritian | (~euleritia@ip4d17f82f.dynamic.kabel-deutschland.de) (Ping timeout: 276 seconds) |
2025-05-02 19:24:40 +0200 | ttybitnik | (~ttybitnik@user/wolper) ttybitnik |
2025-05-02 19:22:40 +0200 | tolgo | (~Thunderbi@199.115.144.130) (Ping timeout: 252 seconds) |
2025-05-02 19:18:50 +0200 | wootehfoot | (~wootehfoo@user/wootehfoot) wootehfoot |
2025-05-02 19:18:35 +0200 | ColinRobinaon | (~juan@user/JuanDaugherty) (Quit: praxis.meansofproduction.biz (juan@acm.org)) |
2025-05-02 19:16:10 +0200 | sord937 | (~sord937@gateway/tor-sasl/sord937) (Quit: sord937) |
2025-05-02 19:11:12 +0200 | ljdarj | (~Thunderbi@user/ljdarj) (Ping timeout: 276 seconds) |