🦋 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. |
|||
01:14
finanalyst left
01:28
lizmat_ joined
01:32
lizmat left
|
|||
andinus | it's live now currently the script is not added to cron, i need to do that | 02:31 | |
librasteve: | |||
06:41
samebchase left
06:46
samebchase joined
09:37
lizmat_ left,
lizmat joined
|
|||
Geth | nqp/main: 0d5391f0d4 | (Elizabeth Mattijsen)++ | 4 files Don't compose again if already composed Since NQP doesn't have augment, having something composed means you don't ever need to do it again. So check at the start of the compose whether it was done already, and agai check inside the protected blocks whether another thread did the compose while the current thread was waiting for access to the block. |
10:27 | |
10:33
finanalyst joined
|
|||
Geth | nqp/main: bf46fb5500 | (Elizabeth Mattijsen)++ | 3 files Remove pre-protect block composed checks Since race connditions *are* rare, 99% of the cases the pre-protect block test will fail anyway, so don't add this overhead to the most common program flow. |
10:57 | |
11:12
finanalyst left
|
|||
Geth | rakudo/main: 2fa69e8789 | (Elizabeth Mattijsen)++ | 2 files Bump NQP to get latest compose check tweaks Also relax the signature on some (legacy) internals methods that would now cause test breakage because apparently some legacy grammar object seeped in. Since this happens in the legacy grammar only, not spending more time on it at this point in time. |
11:19 | |
nqp/main: 9c73b41823 | (Elizabeth Mattijsen)++ | 3 files Move multiple instances of name_of_code to Helpers |
12:24 | ||
nqp/main: 3b65bace0b | (Elizabeth Mattijsen)++ | 7 files Abstract shortname fuctionality into a helper sub |
12:50 | ||
17:17
sena_kun joined
|
|||
Geth | nqp/main: b943ebffbc | (Elizabeth Mattijsen)++ | 6 files Make the positional on "method_table" optional And change all of the calls to "method_table" to not pass any positional argument. This reduces the footprint of these calls. This is possible because the positional argument was only there to allow for .^method calls to work from Raku (as far as I can see). And since this method (as many others) only looks at attributes of the invocant, this will not break any code. |
18:45 | |
nqp/main: e4a0ff47bd | (Elizabeth Mattijsen)++ | src/how/NQPClassHOW.nqp Make the positional on "(is_)array_type" optional |
18:59 | ||
nqp/main: e6170ed3f0 | (Elizabeth Mattijsen)++ | 3 files Make the positional on "role_typecheck_list" optional |
|||
nqp/main: 1131e1d1ba | (Elizabeth Mattijsen)++ | src/how/NQPClassHOW.nqp Simplify MRO fetching Since the positional on .mro is ignored, self.mro($foo) is just a long way to say $!mro. So use the shortcut instead. |
19:06 | ||
nqp/main: 2bf9252a5a | (Elizabeth Mattijsen)++ | src/how/NQPClassHOW.nqp Make the positional on "mro" optional |
19:12 | ||
nqp/main: 003273243a | (Elizabeth Mattijsen)++ | 2 files Make the positional on "BUILD(ALL)PLAN" optional |
19:17 | ||
20:17
MasterDuke joined
|
|||
MasterDuke | lizmat: you're probably aware, but rakudo needs a couple methods to have their signature changed to be an optional argument (at least `role_typecheck_list`) | 20:22 | |
tellable6 | 2024-02-16T13:52:03Z #raku-dev <[Coke]> masterduke I'd get rid of "really", and just ask "did you mean" | ||
lizmat | MasterDuke: I'm just working on NQP at the moment... the HOWs in Raku will come later | 20:23 | |
MasterDuke | yeah, i just pulled nqp and tried to build rakudo, i'll backup a couple commits in nqp | 20:24 | |
lizmat | ah, I borked Rakudo? | 20:28 | |
hmmm that shouldn't have happened... I'll check | |||
MasterDuke: ahh I see what happened... this is NQP HOW calling Raku HOW ... interesting, ok... lemme see what would be the best solution | 20:33 | ||
Geth | nqp/main: 05e593fb5b | (Elizabeth Mattijsen)++ | 7 files Revert the making positionals optional This needs to be done in the Raku metamodel first |
20:41 | |
lizmat | MasterDuke ^^ | 20:42 | |
MasterDuke | ++lizmat | ||
lizmat | I'll bump MoarVM in NQP momentarily in NQP, ok MasterDuke? | 20:44 | |
MasterDuke | sure | 20:45 | |
20:53
sena_kun left
|
|||
Geth | rakudo/main: 87791051e1 | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION Bump NQP for the latest tweaks |
20:59 | |
nqp/main: 95f1248434 | (Elizabeth Mattijsen)++ | tools/templates/MOAR_REVISION Bump MoarVM to get latest libuv |
21:02 | ||
rakudo/main: cd7fb5cfa1 | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION Bump NQP to get latest libuv version on MoarVM |
21:09 | ||
lizmat | and that concludes my hacking for today& | 21:16 | |
MasterDuke | lizmat: nice. and if you want a question for tomorrow, why here (github.com/rakudo/rakudo/blob/main....nqp#L288) does `$expected.HOW.name($expected)` eq 'Positional', but `nqp::istype($expected, Positional)` != 1? my test code is `class A { method a(@b) { dd @b } }; A.new.a(1)` | 21:24 | |
21:30
finanalyst joined
|