ab5tract | fridge777: I'm also reaching my &sleep moment. If you remind me tomorrow, I can show you the tooling we have for bisecting these regressions. That should at least provide the minimum fixed version to install that fixes this | 00:03 | |
00:39
Manifest0 left
01:03
DarthGandalf left
01:19
DarthGandalf joined
01:42
librasteve_ left
04:40
ACfromTX joined
04:41
ACfromTX left,
ACfromTX joined
07:25
human-blip left
07:30
human-blip joined
09:10
dakkar joined
09:48
human-blip left,
human-blip joined
09:57
sjn joined
11:49
human-blip left
12:04
human-blip joined
17:38
dakkar left
|
|||
rcmlz | I like to deepen my Raku Grammar understanding. For that I like to solve some AOC tasks using Grammars. I got stuck here gist.github.com/rcmlz/c2b08e3ed72b...158b92518d Could someone perhaps give me a hint, why in line 7 the split by lines is not working? | 18:57 | |
My aim is to process each row directly in the Grammar Action class - but I can not workout how to get it row by row ... | 18:58 | ||
A single row of numbers in this example is called a "report" | 19:00 | ||
lizmat | my first thing to try would be to replaced <level>+ with .*? and see if that parses | 19:05 | |
rcmlz | .*? did not help | 19:12 | |
if I just use .? it takes the whole input | 19:14 | ||
lizmat | yeah, that's why the ? is there | ||
hmm | |||
rcmlz | yes, I think the ^^ and $$ is not working as anticipated. glot.io/snippets/h2dxf7r1vj | 19:55 | |
ab5tract | rcmlz: I hope this helps - glot.io/snippets/h2e16mlwmq | 21:28 | |
There’s an extraneous new line in the report match though | |||
Can’t poke at it further tonight, unfortunately | |||
rcmlz: here we go (I think) glot.io/snippets/h2e22irn84 | 21:58 | ||
librasteve | lol - just beat me glot.io/snippets/h2e243y7vy | 22:03 | |
22:06
kjp left,
kjp_ joined
|
|||
that said, maybe $input.lines>>.words>>.Int; is a bit less tricky! | 22:16 | ||
glot.io/snippets/h2e2oae5ek (sorry this is the right one) | 22:21 | ||
22:27
Manifest0 joined
22:43
kjp_ left,
kjp joined
|