🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
00:09 buildable6 left 00:12 buildable6 joined 00:26 buildable6 left, buildable6 joined 00:30 finanalyst left 01:12 buildable6 left 01:13 buildable6 joined 01:17 buildable6 left, buildable6 joined 01:21 buildable6 left 01:22 buildable6 joined 01:26 buildable6 left, buildable6 joined
[Coke] ok, all the top level pages on the raku.org site are now using the same styling. 01:30
01:30 buildable6 left, buildable6 joined 01:34 buildable6 left, buildable6 joined 01:39 buildable6 left, buildable6 joined 01:43 buildable6 left, buildable6 joined 01:47 buildable6 left 01:48 buildable6 joined 01:52 buildable6 left, buildable6 joined 01:56 buildable6 left, buildable6 joined
[Coke] a few tickets left that are asking for big changes on the front page = if asomeone can split those up into actionable items, I'd appreciate it. 01:57
02:00 buildable6 left, buildable6 joined 02:05 buildable6 left, buildable6 joined 02:09 buildable6 left, buildable6 joined 02:13 buildable6 left 02:14 buildable6 joined
[Coke] also, feedback on reorging the cards on individual pages welcome. I tried to improve placement and ordering 03:11
03:14 buildable6 left 03:16 buildable6 joined 03:20 buildable6 left 03:21 buildable6 joined 03:25 buildable6 left, buildable6 joined 03:29 buildable6 left, buildable6 joined 03:33 buildable6 left 03:34 buildable6 joined 03:38 buildable6 left, buildable6 joined 03:42 buildable6 left, buildable6 joined 03:46 buildable6 left 03:47 buildable6 joined 03:51 buildable6 left, buildable6 joined 03:55 buildable6 left, buildable6 joined 03:59 buildable6 left 04:00 buildable6 joined 04:04 buildable6 left, buildable6 joined 04:08 buildable6 left, buildable6 joined 04:12 buildable6 left 04:13 buildable6 joined 04:16 buildable6 left 04:18 buildable6 joined 05:18 buildable6 left 05:20 buildable6 joined 05:25 buildable6 left, buildable6 joined 06:20 buildable6 left 06:23 buildable6 joined 06:27 buildable6 left, buildable6 joined 06:31 buildable6 left 06:32 buildable6 joined 06:36 buildable6 left, buildable6 joined 06:40 buildable6 left, buildable6 joined 06:44 buildable6 left 06:45 buildable6 joined 06:49 buildable6 left, buildable6 joined 06:53 buildable6 left, buildable6 joined 06:57 buildable6 left 06:58 buildable6 joined 07:02 buildable6 left, buildable6 joined 07:06 buildable6 left, buildable6 joined 07:10 buildable6 left 07:11 buildable6 joined 07:15 buildable6 left, buildable6 joined 07:19 buildable6 left, buildable6 joined 07:23 buildable6 left 07:24 buildable6 joined 07:28 buildable6 left, buildable6 joined 08:24 buildable6 left 08:27 buildable6 joined 09:27 buildable6 left 09:30 buildable6 joined 09:34 buildable6 left, buildable6 joined 10:12 lizmat left 10:14 lizmat joined 10:20 sena_kun joined 10:30 buildable6 left 10:32 buildable6 joined 10:36 buildable6 left, buildable6 joined
Geth rakudo: ab5tract++ created pull request #5460:
RakuAST: Use stubby meta for Routine
11:09
ab5tract_ lizmat: 2 more spec tests ^^ 11:10
Geth rakudo/main: fd99f6dc70 | ab5tract++ (committed by Elizabeth Mattijsen) | 2 files
RakuAST: Use stubby meta for Routine

This is much cleaner approach, as it means that anything that has a reference to the stubbed meta object will still have a reference to it after names/types are reset.
11:12
11:32 buildable6 left
lizmat 982 +2 :-) 11:32
11:35 buildable6 joined 11:39 buildable6 left, buildable6 joined
Geth rakudo: lizmat self-assigned deparse drops parentheses github.com/rakudo/rakudo/issues/5457
ab5tract++ created pull request #5462: RakuAST: Make multi subs check for re-declaration of signatures
11:41
11:43 Geth left, Geth joined 12:35 buildable6 left 12:36 buildable6 joined 12:41 buildable6 left, buildable6 joined 13:16 RakuIRCLogger joined 13:20 RakuIRCLogger left, RakuIRCLogger joined 13:36 guifa joined, buildable6 left 13:40 buildable6 joined
ab5tract_ Is there an existing pattern for de-duplicating exceptions that get thrown twice with the same parameters for the same exceptions in a single compilation cycle? 14:35
14:40 buildable6 left 14:43 buildable6 joined
ab5tract_ Found it :D 14:48
15:43 buildable6 left 15:44 buildable6 joined 15:49 buildable6 left, buildable6 joined 16:44 buildable6 left 16:46 buildable6 joined
[Coke] any issues with moving the examples site to use the same styling as raku.org ? 16:47
lizmat not from me 17:28
17:46 buildable6 left 17:48 buildable6 joined 17:52 buildable6 left, buildable6 joined 17:56 buildable6 left, buildable6 joined
Geth rakudo/main: 12a13c4842 | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.rakumod
RakuAST: fix various issues with ApplyPostfix deparsing
18:41
18:48 buildable6 left 18:49 buildable6 joined 19:06 buildable6 left, buildable6 joined 19:49 buildable6 left 19:53 buildable6 joined 19:57 buildable6 left, buildable6 joined 20:01 buildable6 left 20:02 buildable6 joined 20:20 Altai-man joined 20:21 finanalyst joined 20:22 sena_kun left
Geth rakudo/main: 92522e890c | (Elizabeth Mattijsen)++ | 7 files
RakuAST: deparse method calls without args without ()

And adapt tests accordingly.
20:33
20:53 buildable6 left 20:54 buildable6 joined
Geth rakudo/main: 50b8e191a3 | (Elizabeth Mattijsen)++ | 5 files
RakuAST: add :no-parentheses hint to ::Call::Name

This will make a lot of deparses a lot more readable, as it will deparse an original:
   say "foo";
... (9 more lines)
21:26
21:47 AlexDaniel joined
nine_ lizmat: feels to me like this ^^^ is a syntactic detail that should not be present in the AST. After all the A stands for abstract. Trying to retain the source information makes the AST more complicated than needed. I think instead, deparse should use a reasonable heuristic to create nice looking code in a standard format regardless of what the input was. 21:50
21:54 buildable6 left 21:55 buildable6 joined
lizmat nine_: I've tried to do that, but it just basically becomes a nightmare with many special cases 21:57
it's like you're parsing the tree all over again 21:58
that's why I added the attribute: if you're building trees manually, you can simply ignore it
and it will deparse safely with parentheses 21:59
in the grammar it's very clear whether its a say("foo") or a say "foo"
so it just needs to set the attribute in one location
and yes, I understand the A in AST 22:00
nine_ Why not just always produce the parentheses then? Seems like a safe choice. 22:04
lizmat that's what it did before... 22:05
and it bothered me to no end that `say "foo"` became `say("foo")`
and since we're going to use deparsing for changing of localization, it felt better that a change in localization would not change that 22:06
m: say Q|say "foo"|.AST.DEPARSE("NL") 22:07
camelia zeg "foo"
lizmat rather than `zeg("foo")`
nine_ But where do you draw the line then? 22:13
22:13 Altai-man left, Altai-man joined
lizmat nine_: I plan to draw the line after adding a deparsing hint to QuotedRegex 22:14
and that's it, as far as I can see right now
either that, or creating different (dummy) processors that would deparse differently 22:15
but *that* really feels yucky to me 22:16
nine: alternately, I could create a subclass RakuAST::Call::Name::WithoutParentheses of RakuAST::Call::Name and just add different deparsing for that ? 22:18
nine_: would that feel better for you?
AlexDaniel oh, whateverable actually doesn't have any moarvm builds because I wiped them to save space 22:48
interesting
I don't remember myself doing that, but apparently I did! 22:49
Geth whateverable/main: a6d775d813 | (Aleks-Daniel Jakimenko-Aleksejev)++ | xbin/Buildable.p6
Stop Buildable from pretending to work when asked

The idea is that if any other mechanism breaks (e.g. webhooks are down), then you should be able to “wake” it up by just asking for the status. However, in this case the functionality was a bit too eager, which resulted in the bot always saying “Building” even when it was idle.
22:52
whateverable/main: b7fb536f56 | (Aleks-Daniel Jakimenko-Aleksejev)++ | xbin/Buildable.p6
Let Buildable build MoarVM too

It turns out that at some point I wiped all MoarVM builds to save space. This means that from now on the bot will attempt to build *everything* from scratch. That's fine, it's just that it'll take some time.
22:55 buildable6 left 22:56 releasable6 left, shareable6 left, sourceable6 left, notable6 left, coverable6 left 22:58 linkable6 joined, nativecallable6 joined, releasable6 joined 22:59 unicodable6 joined, shareable6 joined, notable6 joined, quotable6 joined, benchable6 joined, coverable6 joined, bloatable6 joined 23:00 greppable6 joined, sourceable6 joined, buildable6 joined, evalable6 joined 23:01 bisectable6 joined, committable6 joined, tellable6 joined 23:03 shareable6 left, shareable6 joined, quotable6 left, quotable6 joined, coverable6 left 23:04 coverable6 joined, greppable6 left, greppable6 joined 23:05 evalable6 left, evalable6 joined 23:06 finanalyst left 23:07 shareable6 left, shareable6 joined, quotable6 left 23:08 quotable6 joined, coverable6 left, coverable6 joined, greppable6 left 23:09 greppable6 joined
AlexDaniel buildable6: status 23:11
buildable6 AlexDaniel, (⏳ Building…) 32606 rakudo-moar builds in 10450 archives (71.9 GB); 12 moarvm builds in 12 archives (0.1 GB)
AlexDaniel and so it begins :)
23:11 shareable6 left 23:12 shareable6 joined, quotable6 left, quotable6 joined, coverable6 left, coverable6 joined 23:13 greppable6 left, greppable6 joined 23:16 shareable6 left, shareable6 joined, quotable6 left, quotable6 joined, coverable6 left 23:17 coverable6 joined, greppable6 left, greppable6 joined
buildable6 AlexDaniel, Done building! 23:18
23:18 buildable6 left 23:20 shareable6 left, shareable6 joined, quotable6 left 23:21 quotable6 joined, buildable6 joined, coverable6 left, coverable6 joined, greppable6 left 23:22 greppable6 joined 23:24 shareable6 left 23:25 shareable6 joined, quotable6 left, quotable6 joined, coverable6 left, coverable6 joined 23:26 greppable6 left, greppable6 joined, AlexDaniel left 23:27 Altai-man left 23:29 shareable6 left, shareable6 joined, quotable6 left, quotable6 joined, coverable6 left 23:30 coverable6 joined, greppable6 left, greppable6 joined 23:33 shareable6 left, shareable6 joined, quotable6 left 23:34 quotable6 joined, coverable6 left, coverable6 joined, greppable6 left, buildable6 left 23:35 greppable6 joined 23:37 buildable6 joined, shareable6 left 23:38 shareable6 joined, quotable6 left, quotable6 joined, coverable6 left, coverable6 joined 23:39 greppable6 left, greppable6 joined 23:41 buildable6 left, buildable6 joined 23:42 shareable6 left, shareable6 joined, quotable6 left, quotable6 joined, coverable6 left 23:43 coverable6 joined, greppable6 left, greppable6 joined 23:46 shareable6 left, shareable6 joined, quotable6 left 23:47 quotable6 joined, coverable6 left, coverable6 joined, greppable6 left 23:48 greppable6 joined 23:49 buildable6 left 23:50 shareable6 left 23:51 shareable6 joined, quotable6 left, quotable6 joined, coverable6 left, coverable6 joined 23:52 greppable6 left, greppable6 joined, buildable6 joined 23:55 shareable6 left, shareable6 joined, quotable6 left, quotable6 joined, coverable6 left 23:56 coverable6 joined, AlexDaniel joined, greppable6 left, greppable6 joined 23:57 buildable6 left 23:59 buildable6 joined, shareable6 left, shareable6 joined, quotable6 left