This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
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
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
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