🦋 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:00 rypervenche left, |Tux| left, jgaz left, tonyo left, lucs left, lucs joined, |Tux| joined, reportable6 left, jgaz joined, rypervenche joined, tonyo joined, rypervenche left, rypervenche joined 00:03 reportable6 joined 00:12 kurahaupo left 00:17 kurahaupo joined 00:24 jgaz left, jgaz joined 00:31 kurahaupo left 00:34 kurahaupo joined 01:50 MasterDuke left 02:55 camelia left 02:59 camelia joined 04:46 unicodable6 left, sourceable6 left, greppable6 left, committable6 left, notable6 left, squashable6 left, notable6 joined 04:47 committable6 joined 04:48 unicodable6 joined, greppable6 joined, sourceable6 joined, squashable6 joined 05:48 quotable6 left, benchable6 left, linkable6 left, tellable6 left, bisectable6 left, releasable6 left, evalable6 left, greppable6 left, statisfiable6 left, shareable6 left, bloatable6 left, unicodable6 left, coverable6 left, committable6 left, squashable6 left, reportable6 left, nativecallable6 left, notable6 left 05:49 shareable6 joined, notable6 joined, bloatable6 joined, releasable6 joined, unicodable6 joined, evalable6 joined, greppable6 joined 05:50 benchable6 joined, squashable6 joined, coverable6 joined, quotable6 joined 05:51 tellable6 joined, linkable6 joined, reportable6 joined, nativecallable6 joined, bisectable6 joined, statisfiable6 joined, committable6 joined 06:00 reportable6 left 06:01 reportable6 joined 07:01 coverable6 left, reportable6 left, linkable6 left, nativecallable6 left, bloatable6 left, tellable6 left, releasable6 left, committable6 left, bisectable6 left, unicodable6 left, tellable6 joined 07:02 unicodable6 joined, committable6 joined, bloatable6 joined 07:03 releasable6 joined, nativecallable6 joined 07:04 reportable6 joined, coverable6 joined, bisectable6 joined, linkable6 joined 07:09 kurahaupo left, kurahaupo joined 07:14 kurahaupo left 08:04 kurahaupo joined 08:10 sena_kun left 08:14 kurahaupo left 08:31 kurahaupo joined 08:32 kurahaupo left 08:50 kurahaupo joined
Geth rakudo/main: 639e7e907d | (Elizabeth Mattijsen)++ | 2 files
Ununderscore dec_number to decimal-number
09:52 linkable6 left, evalable6 left 09:53 linkable6 joined
Geth rakudo/main: 305a839b8a | (Elizabeth Mattijsen)++ | 2 files
Ununderscore rad_number -> radix-number
rakudo/main: da5fb80f21 | (Elizabeth Mattijsen)++ | 2 files
Ununderscore rat_number -> rational-number
09:54 evalable6 joined
Geth rakudo/main: 885a86a8ca | (Elizabeth Mattijsen)++ | 2 files
Ununderscore complex_number
rakudo/main: 54fee5e664 | (Stefan Seifert)++ | src/Raku/Grammar.nqp
RakuAST: fix parser stumbling over backslashes in names of categoricals

Fixes: sub infix:«~~>\»» { }; say &[~~>»].name
rakudo/main: 2d2920f036 | (Stefan Seifert)++ | src/Raku/ast/literals.rakumod
RakuAST: get compile time values even from nested quoted strings

e.g. <"\x1234">
rakudo/main: 1c6097b8ef | (Stefan Seifert)++ | src/Raku/ast/literals.rakumod
RakuAST: fix literalization of quoted strings not respecting atoms
nine 878 10:12
Geth rakudo/main: 17b97c199e | (Elizabeth Mattijsen)++ | src/Raku/Grammar.nqp
Ununderscore quote_mod -> quote-modifier
rakudo/main: 003777c402 | (Elizabeth Mattijsen)++ | src/Raku/Grammar.nqp
Ununderscore old_rx_mods -> old_rx-modifiers
[Tux] Rakudo v2023.05-80-g1c6097b8e (v6.d) on MoarVM 2023.05-6-gb039b913b
csv-ip5xs1.060 - 1.084
csv-ip5xs-206.011 - 6.013
csv-parser3.703 - 4.980
csv-test-xs-200.378 - 0.395
test6.489 - 6.862
test-t1.442 - 1.578
test-t --race0.977 - 1.125
test-t-2021.252 - 23.096
test-t-20 --race7.100 - 7.260
Geth rakudo/main: 554c9fc671 | (Elizabeth Mattijsen)++ | 2 files
Ununderscore rx_adverbs
rakudo/main: c8a4a21454 | (Stefan Seifert)++ | src/Raku/Actions.nqp
RakuAST: fix construction of RakuAST::VarDeclaration::Auto objects

Follow change in constructor of RakuAST::VarDeclaration::Simple
rakudo/main: f05cd03336 | (Stefan Seifert)++ | src/Raku/Grammar.nqp
RakuAST: fix regression when parsing categoricals

Broken by 54fee5e6641840661d3d9bd1afbd0fad21e2b446
10:45 kurahaupo left 10:51 kurahaupo joined 10:54 kurahaupo left
Geth rakudo/main: 7661383e6e | (Elizabeth Mattijsen)++ | src/Raku/Grammar.nqp
Ununderscore typo_typename
rakudo/main: 9b9b721613 | (Elizabeth Mattijsen)++ | src/Raku/Grammar.nqp
Ununderscore maybe_typename
rakudo/main: 823f551674 | (Elizabeth Mattijsen)++ | 2 files
Ununderscore post_constraint
10:59 kurahaupo joined
Geth rakudo/main: 58d638d30e | (Elizabeth Mattijsen)++ | 2 files
Ununderscore param_var
rakudo/main: e0cefedb57 | (Elizabeth Mattijsen)++ | 2 files
Ununderscore param_term
rakudo/main: e015bfe7fb | (Elizabeth Mattijsen)++ | 2 files
Ununderscore named_param
rakudo/main: baf1aa0f95 | (Elizabeth Mattijsen)++ | 2 files
Ununderscore default_value
rakudo/main: 84d14dc97a | (Elizabeth Mattijsen)++ | 2 files
Ununderscore type_constraint
rakudo/main: cb887de74c | (Elizabeth Mattijsen)++ | src/Raku/Grammar.nqp
Ununderscore end_keyword
rakudo/main: 45cc0d4e69 | (Elizabeth Mattijsen)++ | src/Raku/Grammar.nqp
Ununderscore end_prefix
lizmat and that concludes the ununderscoring of items in the Raku grammar / actions for now 11:32
11:40 sena_kun joined
leont \o/ 11:47
Geth rakudo/main: f2bff1f75c | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.pm6
RakuAST: make Deparse private methods public

To be able to create a meaningful subclass of Deparse for e.g. syntax highlighting purposes in code examples, the helper methods must be subclassable, and thus not private.
12:00 reportable6 left 12:01 reportable6 joined 12:28 squashable6 left 12:29 squashable6 joined
Geth rakudo/main: 2cff038d08 | (Stefan Seifert)++ | 3 files
RakuAST: support making suggestions for typos in lexical names
nine And that's 879
13:10 guifa left
ugexe does anyone else have an opinion on having a deprecation message when a .pm file is found in a library path that does not contain a META6.json listing that file? -- github.com/rakudo/rakudo/pull/5278 13:10
13:11 guifa joined
ugexe the people this would annoy are people that have RAKUDOLIB= set to some path like /home/foo that also contains a perl installation 13:12
lizmat why would one have a perl installation in their homedir ? 13:14
I guess one could...
ugexe i have multiple
i.e. perlbrew
for instance: /Users/nlogan/perl5/perlbrew/perls/perl-5.36.0/ 13:15
lizmat ah, ok /me recuses herself from this discussion on the grounds that she has no idea 13:16
ugexe i suspect almost no one should be affected by that, since including ones home directory as a library path is already less-than-ideal 13:17
and even users that do that probably do not expect that .pm files are being picked up as raku modules 13:18
13:45 jgaz left 13:47 jgaz joined
nine m: use Test; sub f1() { }; &CORE::none := &f1; ok &none =:= &f1 # This is why we can't have nice things... 15:06
camelia ok 1 -
nine So instead of using the results of the compile time lookup we have to do anyway and putting in a direct reference to it into the call, we have to generate a runtime lookup. 15:07
lizmat I'm not sure I understand? 15:16
nine The above fails right now with RakuAST because we just put the &none sub we found during compilation into a WVal and call that, but the language allows for replacing that sub at runtime. So we do have to do that lookup again. 15:18
lizmat ah, ok
Geth rakudo/main: e8b477b586 | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.pm6
RakuAST: first stab at deparsing multi-lingual code

By subclassing RakuAST::Deparse and providing a "syntax-translation" method that returns the appropriate Map, it is now possible to deparse a RakuAST tree into a different natural language.
Well, as a proof of concept.
15:45 evalable6 left, linkable6 left 15:47 gfldex left, evalable6 joined 15:48 linkable6 joined
nine I'd really prefer proof of concepts to live in branches 16:10
The obvious fix for my above rant is to no longer assume that values found in the setting are constant, i.e. no RakuAST::Declaration::External::Constant but mere RakuAST::Declaration::External instead. Of course, nothing in RakuAST is so easy to fix without causing regressions. Turns out my $got is default(Nil) = ...; relied on Nil resolving to a constant making it possible to pass it to the interpreted 17:00
trait call. 17:01
18:00 reportable6 left, reportable6 joined 18:18 gfldex joined 19:16 MasterDuke joined 20:26 linkable6 left, evalable6 left 20:27 evalable6 joined 20:29 linkable6 joined 20:30 sena_kun left 21:07 japhb left 21:08 japhb joined 21:13 japhb left 21:14 japhb joined 21:48 djinni` left 22:16 djinni` joined