🦋 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 can be inspected at colabti.org/irclogger/irclogger_log/raku-dev | For MoarVM see #moarvm Set by lizmat on 26 April 2021. |
|||||||||||||||||||||||||||||||||||||||
00:01
reportable6 left
00:02
reportable6 joined
01:00
camelia joined
01:26
kvw_5_ joined
01:29
kvw_5 left
|
|||||||||||||||||||||||||||||||||||||||
Geth | rakudo: vrurg++ created pull request #4373: Make 6.e PseudoStash a child of 6.c PseudoStash |
01:52 | |||||||||||||||||||||||||||||||||||||
02:14
sortiz left
|
|||||||||||||||||||||||||||||||||||||||
releasable6 | Next release in ≈1 day and ≈15 hours. There are no known blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft | 03:00 | |||||||||||||||||||||||||||||||||||||
05:12
frost-lab joined
05:42
AlexDaniel` left
05:43
AlexDaniel` joined
06:02
reportable6 left
06:04
reportable6 joined
06:10
camelia left,
ugexe left
06:11
ugexe joined
06:15
samebchase joined
06:18
ugexe left,
kawaii_ left,
moon-child left,
summerisle left,
summerisle joined
06:19
ugexe joined,
kawaii_ joined
06:21
moon-child joined
06:47
HarmtH left
06:54
patrickb joined
06:55
patrickb joined
07:00
patrickz joined,
patrickb left
07:04
HarmtH joined
07:06
patrickz left,
patrickb joined
07:13
summerisle left
07:14
summerisle joined
07:18
camelia joined
07:34
patrickb joined
07:35
tbrowder left
07:36
patrickb19 joined
07:37
tbrowder joined
07:38
patrickb left,
patrickb19 is now known as patrickb
07:39
patrickb left
07:41
patrickb left
07:42
patrickb joined
07:43
patrickb left
07:53
sena_kun left
07:56
sena_kun joined
08:03
sena_kun left
08:05
sena_kun joined
08:25
squashable6 left
08:27
squashable6 joined
|
|||||||||||||||||||||||||||||||||||||||
nine | japhb: ah, yes, sorry for the noise! | 08:33 | |||||||||||||||||||||||||||||||||||||
09:01
nine joined
|
|||||||||||||||||||||||||||||||||||||||
[Tux] | kline.sh/ | 09:02 | |||||||||||||||||||||||||||||||||||||
09:46
samebchase- left
|
|||||||||||||||||||||||||||||||||||||||
[Tux] |
|
10:52 | |||||||||||||||||||||||||||||||||||||
11:23
ggoebel joined
|
|||||||||||||||||||||||||||||||||||||||
ggoebel | .tell Tux thx, irc.libera.chat it is... Does anyone know if/what colabti.org intends to do with regards to archiving channels? Or is there an alternative? | 11:31 | |||||||||||||||||||||||||||||||||||||
tellable6 | ggoebel, I'll pass your message to [Tux] | ||||||||||||||||||||||||||||||||||||||
11:43
domidumont joined
|
|||||||||||||||||||||||||||||||||||||||
lizmat | ggoebel: I'm not sure what colabti will do | 12:01 | |||||||||||||||||||||||||||||||||||||
but I'm keeping local logs of the channels on libera | |||||||||||||||||||||||||||||||||||||||
ggoebel | lizmat: it looks like your work is very timely | 12:02 | |||||||||||||||||||||||||||||||||||||
12:02
reportable6 left,
reportable6 joined
|
|||||||||||||||||||||||||||||||||||||||
lizmat | and these will at some point also be searchable on the official version that can now be checked in beta on logs.liz.nl | 12:02 | |||||||||||||||||||||||||||||||||||||
ggoebel: looks like indeed... although I was not aware that things were developing like that on Freenode | 12:03 | ||||||||||||||||||||||||||||||||||||||
ggoebel | lizmat: all the same, thank you for your prescience and work on this | 12:04 | |||||||||||||||||||||||||||||||||||||
13:04
ggoebel left
13:06
ggoebel joined
13:10
ggoebel left
13:11
ggoebel left
13:19
Xliff joined
|
|||||||||||||||||||||||||||||||||||||||
Xliff | \o | 13:19 | |||||||||||||||||||||||||||||||||||||
What's the best way to convert a Str to a Buf (not a Blob)? | 13:20 | ||||||||||||||||||||||||||||||||||||||
nwc10 | o/ | ||||||||||||||||||||||||||||||||||||||
"ask someone who isn't me" :-( | |||||||||||||||||||||||||||||||||||||||
Xliff | Buf.new( $str.encode )? seems a bit redundant. | ||||||||||||||||||||||||||||||||||||||
nwc10: LOL. Bad day? | |||||||||||||||||||||||||||||||||||||||
nwc10 | no, much simpler. I have no idea. | 13:21 | |||||||||||||||||||||||||||||||||||||
13:25
ggoebel joined
|
|||||||||||||||||||||||||||||||||||||||
leont | $str.encode.Buf | 13:27 | |||||||||||||||||||||||||||||||||||||
Xliff | Oh, LOL! leont++ | ||||||||||||||||||||||||||||||||||||||
Given this, do I really need to write my own Buf comparitor or am I missing something? | 13:28 | ||||||||||||||||||||||||||||||||||||||
tio.run/##ZY3BDoIwEETvfMWG9AAJEERF...C2j@Z0mMPw | |||||||||||||||||||||||||||||||||||||||
lizmat | m: "foo".encode.Buf | ||||||||||||||||||||||||||||||||||||||
camelia | No such method 'Buf' for invocant of type 'utf8' in block <unit> at <tmp> line 1 |
||||||||||||||||||||||||||||||||||||||
Xliff | Yeah. Just noticed that. | ||||||||||||||||||||||||||||||||||||||
lizmat | otoh, Buf[uint32].new("foo".encode) should almost be a noop | 13:29 | |||||||||||||||||||||||||||||||||||||
Xliff | Why uint32, lizmat? | 13:30 | |||||||||||||||||||||||||||||||||||||
13:31
ggoebel left
|
|||||||||||||||||||||||||||||||||||||||
lizmat | cause that's the internal representation of Uni | 13:31 | |||||||||||||||||||||||||||||||||||||
Xliff | lizmat: Also, is there a builtin that I can use to compare contents of 2 Bufs? | ||||||||||||||||||||||||||||||||||||||
lizmat | m: dd Buf.new(112) eq Buf.new(112) # yes! | 13:32 | |||||||||||||||||||||||||||||||||||||
camelia | Bool::True | ||||||||||||||||||||||||||||||||||||||
lizmat | m: dd Buf.new(112) eq Buf.new(113) | ||||||||||||||||||||||||||||||||||||||
camelia | Bool::False | ||||||||||||||||||||||||||||||||||||||
Xliff | Does that internally coerce to Str? | 13:33 | |||||||||||||||||||||||||||||||||||||
lizmat | nope | ||||||||||||||||||||||||||||||||||||||
afaik | |||||||||||||||||||||||||||||||||||||||
Xliff | lizmat++ # Thanks! | 13:34 | |||||||||||||||||||||||||||||||||||||
lizmat | m: dd $_ for &infix:<eq>.candidates>>.file | 13:35 | |||||||||||||||||||||||||||||||||||||
camelia | "SETTING::src/core.c/Stringy.pm6" "SETTING::src/core.c/Stringy.pm6" "SETTING::src/core.c/Buf.pm6" "SETTING::src/core.c/Str.pm6" "SETTING::src/core.c/Str.pm6" |
||||||||||||||||||||||||||||||||||||||
lizmat | meh, of course, encode creates uint8's | 13:37 | |||||||||||||||||||||||||||||||||||||
nothing to do with Uni | |||||||||||||||||||||||||||||||||||||||
m: dd Blob.new.Buf # that feels like a strange oversight | 13:39 | ||||||||||||||||||||||||||||||||||||||
camelia | No such method 'Buf' for invocant of type 'Blob' in block <unit> at <tmp> line 1 |
||||||||||||||||||||||||||||||||||||||
13:41
lucs_ left
|
|||||||||||||||||||||||||||||||||||||||
leont thought there was such a method, sorry for the confusion | 13:42 | ||||||||||||||||||||||||||||||||||||||
13:43
vrurg joined
13:46
vrurg_ left
14:15
lucs left
14:16
lucs joined
14:17
lucs left
14:40
[Coke] is now known as Will,
Will is now known as Coleda
14:41
frost-lab left,
Coleda is now known as [Coke]
14:43
[Coke] is now known as Coke0
14:44
Coke0 is now known as [Coke]
14:48
lucs joined
14:51
lucs left
15:11
[Coke] is now known as {Coke},
{Coke} is now known as c0ke
15:13
c0ke is now known as [Coke]
15:14
[Coke] left
15:15
[Coke] joined
15:17
[Coke] left
15:18
[Coke] joined,
[Coke] left
15:19
[Coke] left,
[Coke] joined
15:21
b2gills left
|
|||||||||||||||||||||||||||||||||||||||
Xliff | So... in my ongoing quest to get a handle on the Perl6 parser in userland, I've run across this: | 15:45 | |||||||||||||||||||||||||||||||||||||
$GRAMMAR.^lookup('parse') throws the following: | 15:48 | ||||||||||||||||||||||||||||||||||||||
No such method 'lookup' for invocant of type 'NQPClassHOW' where $GRAMMAR is a Perl6::Grammar | |||||||||||||||||||||||||||||||||||||||
If I do $GRAMMAR.parse($text), where $text is a block of Perl6 code | 15:49 | ||||||||||||||||||||||||||||||||||||||
I get: "Could not locate compile-time value for symbol Block" | |||||||||||||||||||||||||||||||||||||||
Do I need to prep the Perl6::Grammar somehow, before it is used? | 15:50 | ||||||||||||||||||||||||||||||||||||||
15:53
domidumont left
|
|||||||||||||||||||||||||||||||||||||||
ugexe | m: use Perl6::Grammar:from<NQP>; use Perl6::Actions:from<NQP>; my $source = q|{ say 42 }|; my $*LINEPOSCACHE; my $p6g = Perl6::Grammar.parse($source, :actions(Perl6::Actions)); say $p6g.ast.dump | 15:54 | |||||||||||||||||||||||||||||||||||||
camelia | - QAST::CompUnit :W<?> :UNIT<?> :CAN_LOWER_TOPIC<?> [pre_deserialize] - QAST::Stmt - QAST::Stmt - QAST::Op(loadbytecode) - QAST::VM [moar] - QAST::SVal(ModuleLoader.moarvm) … |
||||||||||||||||||||||||||||||||||||||
16:01
MasterDuke joined
16:06
patrickb joined
16:08
patrickb joined
|
|||||||||||||||||||||||||||||||||||||||
Xliff | ugexe++ # Thanks! | 16:18 | |||||||||||||||||||||||||||||||||||||
16:23
hankache joined,
rypervenche left,
rypervenche joined
16:25
rypervenche left,
rypervenche joined
16:42
MasterDuke left
16:44
hankache left
16:45
hankache joined
16:46
hankache left,
hankache joined
16:49
ggoebel joined,
hankache left,
hankache joined
16:50
hankache left,
hankache joined
17:11
hankache joined
|
|||||||||||||||||||||||||||||||||||||||
Xliff | Is there a more compact way of doing this? | 17:42 | |||||||||||||||||||||||||||||||||||||
tio.run/##ZY3BDoIwEETvfMWG9AAJEERF...C2j@Z0mMPw | |||||||||||||||||||||||||||||||||||||||
Sorry. Wrong channel. Will repost on #raku | 17:43 | ||||||||||||||||||||||||||||||||||||||
17:48
ggoebel left,
ggoebel joined
|
|||||||||||||||||||||||||||||||||||||||
lizmat | ugexe: stuff like "Can only parameterize with native int types, not 'T'." :-( | 17:56 | |||||||||||||||||||||||||||||||||||||
18:02
hankache_ joined,
reportable6 left,
reportable6 joined
18:03
hankache left
18:04
domidumont joined
18:07
domidumont left
18:09
ggoebel left
18:10
ggoebel left
18:14
hankache_ left
18:15
hankache joined
18:19
[Coke] left
18:21
maggotbrain left
18:22
maggotbrain joined
19:08
hankache left
19:09
hankache joined
|
|||||||||||||||||||||||||||||||||||||||
sena_kun | releasable6, status | 19:17 | |||||||||||||||||||||||||||||||||||||
releasable6 | sena_kun, Next release in ≈23 hours. There are no known blockers. 0 out of 43 commits logged | ||||||||||||||||||||||||||||||||||||||
sena_kun, Details: gist.github.com/7eadf7b0473b4918ce...1ca21412f4 | |||||||||||||||||||||||||||||||||||||||
Geth | rakudo/blob-coercers: ac5fb7a678 | (Elizabeth Mattijsen)++ | src/core.c/Buf.pm6 Add .Buf / .Blob coercers to Blob / Buf This is a bit of a special case, as Buf / Blob are both *roles*, yet they are generally used as classes with their default parameterization. Therefore, the .Buf and .Blob coercers return the type **with the same parameterization** as the source. This feels like the most logical ... (8 more lines) |
19:39 | |||||||||||||||||||||||||||||||||||||
rakudo: lizmat++ created pull request #4374: Add .Buf / .Blob coercers to Blob / Buf |
|||||||||||||||||||||||||||||||||||||||
lizmat | inspired by discussion earlier today on #raku-dev | 19:41 | |||||||||||||||||||||||||||||||||||||
Xliff leont ugexe ^^ | 19:46 | ||||||||||||||||||||||||||||||||||||||
leont | Yes, that seems like a good idea | 19:47 | |||||||||||||||||||||||||||||||||||||
Xliff | lizmat++ | ||||||||||||||||||||||||||||||||||||||
japhb | lizmat: Commented on the commit | 19:49 | |||||||||||||||||||||||||||||||||||||
Geth | rakudo/blob-coercers: 29eb58ab95 | (Elizabeth Mattijsen)++ | src/core.c/Buf.pm6 Remove dead code, japhb++ |
19:51 | |||||||||||||||||||||||||||||||||||||
19:57
hankache left
20:15
epony left,
epony joined
20:40
ggoebel joined
20:56
patrickb left
21:13
b2gills joined
21:20
ggoebel left
22:01
dogbert11 joined
22:05
dogbert17 left
22:24
lucasb joined
22:43
[Coke] joined
|
|||||||||||||||||||||||||||||||||||||||
releasable6 | Next release in ≈19 hours. There are no known blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft | 23:00 |