00:09
zacts left
|
|||
stevied | can anyone see why `Nil` is getting passed to the `embed-this` subroutine with this line? | 00:15 | |
`make $line.subst(/<-[``]>https\:\/\/www\.youtube\.com\/watch\?v\=$<foo>=<[\w\-&=]>+/, { embed-this($<foo>) }, :g);` | |||
this line is inside an action method | |||
00:37
zacts joined
00:51
zacts left
04:15
zacts joined
04:22
zacts left
04:39
zacts joined
|
|||
if I have a grammar that's been used to parse some text and then I save the Match object it returns, is there a way to run actions on the Match object later? | 04:39 | ||
in other words, I don't want to have to run the .parse method on the grammar because it's already been parsed, I just want to run the actions on it | 04:41 | ||
in other words, I don't want to have to run the .parse method on the grammar because it's already been parsed, I just want to run the actions on it | 04:46 | ||
06:24
zacts left
06:39
tbrowder left,
tbrowder joined
06:43
samebchase left
07:22
Manifest0 joined
07:51
dakkar joined
09:44
neither joined
10:18
zacts joined
10:59
zacts left
|
|||
lizmat | and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/04/04/2022-...completer/ | 12:45 | |
13:12
jgaz joined
13:54
zacts joined
13:59
jgaz left
14:09
jgaz joined
|
|||
neither | hi, how do you `assert` something in Raku? | 14:12 | |
`die $message unless $ok`? | |||
lizmat | if you want it to be trappable | 14:13 | |
if you don't want it be trappable | |||
m: exit note "it didn't work out" | |||
camelia | it didn't work out | ||
neither | oh sorry, what do you mean by trappable? | 14:14 | |
i think you mean CATCHable? | 14:16 | ||
14:17
zacts left
|
|||
lizmat | yes | 14:23 | |
actually, if you want, you can catch exits too, but that takes a bit more work :-) | |||
14:24
jgaz left
|
|||
neither | thanks :p | 14:25 | |
:d not :\p | |||
lizmat | :-) | 14:26 | |
15:04
discord-raku-bot left
15:05
discord-raku-bot joined
15:18
neither left
16:37
dakkar left
18:17
n1to joined
18:19
m_athias left,
camelia left,
m_athias joined
18:24
camelia joined
19:12
jgaz joined
19:28
zacts joined
19:33
neither joined
19:41
neither left
19:42
zacts left
20:18
archenoth left
20:33
jgaz left
20:46
archenoth joined
22:01
n1to left
|