🦋 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 reportable6 left 00:01 reportable6 joined 01:51 evalable6 left, linkable6 left 01:53 linkable6 joined 01:54 evalable6 joined 02:54 releasable6 left, nativecallable6 left, unicodable6 left, greppable6 left, notable6 left, benchable6 left, quotable6 left, bisectable6 left, coverable6 left, evalable6 left, sourceable6 left, statisfiable6 left, committable6 left, reportable6 left, squashable6 left, linkable6 left, bloatable6 left, shareable6 left, tellable6 left 02:55 quotable6 joined, bisectable6 joined, linkable6 joined 02:56 releasable6 joined, reportable6 joined, notable6 joined, sourceable6 joined, evalable6 joined, benchable6 joined, coverable6 joined, squashable6 joined, bloatable6 joined 02:57 unicodable6 joined, tellable6 joined, statisfiable6 joined, shareable6 joined, nativecallable6 joined 02:58 greppable6 joined, committable6 joined 03:01 jgaz left 03:06 jgaz joined 06:00 reportable6 left 06:02 reportable6 joined 07:08 ab5tract joined 07:41 ab5tract left, ab5tract joined 08:51 finanalyst joined 10:28 evalable6 left, linkable6 left 10:31 linkable6 joined, evalable6 joined
Geth rakudo/main: 42c2f5a75b | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: reorganize variable stub logic a bit

  MasterDuke++ for the nudge
11:13
lizmat ab5tract: if looking for stuff, I was going through my notes and found this one: 11:19
m: dd gather for 1..20 { .take if $_ == 9 ff $_ == 13 }
camelia (9, 10, 11, 12, 13).Seq
lizmat m: Q|dd gather for 1..20 { .take if $_ == 9 ff $_ == 13 }.AST.EVAL
camelia ===SORRY!=== Error while compiling <tmp>
Couldn't find terminator | (corresponding | was at line 1)
at <tmp>:1
------> take if $_ == 9 ff $_ == 13 }.AST.EVAL⏏<EOL>
expecting any of:
|
lizmat m: Q|dd gather for 1..20 { .take if $_ == 9 ff $_ == 13 }|.AST.EVAL
camelia This element has not been resolved. Type: RakuAST::Infix
in any resolution at src/Raku/ast/scoping.rakumod line 690
in any IMPL-INFIX-QAST at src/Raku/ast/expressions.rakumod line 311
in any IMPL-INFIX-COMPILE at src/Raku/ast/expressions.r…
11:24 thundergnat joined
lizmat I wonder how we should fix this for RakuAST: 11:38
github.com/rakudo/rakudo/blob/main...od#L69-L73
it doesn't look like fixed, so maybe the reason for some precomp issues with RakuAST
11:46 thundergnat left 11:54 finanalyst left 12:00 reportable6 left 12:01 reportable6 joined
ab5tract lizmat: maybe a good idea to file it as an issue so that it doesn't get lost? 12:03
the `ff` problem, I mean
lizmat yeah, probably should :-)
ab5tract I'm going to move on from the remaining once issue. I think the real fix is like I mentioned before, we need to propagate p6stateinit for the compunit. I don't know how they manage to attach the declaration properly in the old frontend 12:06
lizmat understood... there's plenty of other, bigger fish to fry 12:07
Geth rakudo/main: 5ed482e0f7 | (Elizabeth Mattijsen)++ | src/core.c/Routine.rakumod
Streamline Routine.gist
12:57
13:59 ab5tract left 14:11 jgaz left 14:16 jgaz joined
lizmat Question of the day: what does this display? 14:20
class A { has @.a = 1,2,3; method b() { "$.a" } }; dd A.new.b
evalable6 "1 2 3"
lizmat evalable6 you spoilsport
TIL
ugexe that is what i expected, but i'm not the right person to ask :P 14:23
$. is like self. 14:24
lizmat m: class A { has @.a = 1,2,3; method b() { "@.a" } }; dd A.new.b
camelia "\@.a"
nemokosch yes, $.foobar is actually $(self.foobar)... 14:25
ugexe i also expect that lol
m: my @a = 1,2,3; say "@a"
camelia @a
nemokosch : class A { has @.a = 1,2,3; method b() { "@.a()" } }; dd A.new.b 14:26
oops
m: class A { has @.a = 1,2,3; method b() { "@.a()" } }; dd A.new.b
Raku eval "\@.a()" 14:27
nemokosch okay, now this is kinda bizarre
m: my @demo = <a b c>; say [email@hidden.address]
m: my @demo = <a b c>; say "@demo.join()"
Raku eval abc
nemokosch that should have interpolated by all reasonings available 14:28
didn't we collect some issue of similar spirit with Rob Ransbottom? 14:29
ugexe m: my @a = 1,2,3; say "@a"; say "@a<>"; # this is unexpected to me though 14:31
camelia @a
1 2 3
nemokosch github.com/rakudo/rakudo/issues/5249 not the same thing but on the same topic
14:32 ab5tract joined
@.a() doesn't interpolate even if a is a usual method 14:37
moreover, it's still an error in RakuAST land, it tries to do (@.a)() 14:38
again, even if a happens to be a method
Geth rakudo/main: 50c2f86e82 | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: streamline variable access codegen

  - some more helper subs
  - some more documentation
14:39
rakudo/main: 8d82622a5c | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: remove (now) dead code
14:44
14:57 ab5tract left
Geth rakudo/main: 7004c56350 | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: replace ?? 1 !! 0 by ?

Aka an nqp::istrue() internally
15:10
15:45 ab5tract joined
Geth rakudo/main: 2671792ae1 | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: streamline variious declaration logic

  - fewer repeated hash and dyn var lookups
  - attachments at one place, instead of many
16:37
lizmat spectest down from 3:16 to 3:15 for me
16:59 jgaz left 17:18 finanalyst joined 17:19 dogbert17 left
Geth rakudo/main: ebd4c00e8a | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: seperate rare "is repr" handling

As its handling is very different and the number of occurrences of
  "is repr" in the ecosystem is *very* low.
17:21
18:00 reportable6 left, reportable6 joined
Geth rakudo/main: a39765a689 | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: streamline a lot of numeric value logic
18:21
lizmat spectest 3:15 -> 3:14 18:22
18:37 MasterDuke left
Geth rakudo/main: 1504fc2f65 | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: streamline version/parameter handling a bit
18:41
18:48 MasterDuke joined 19:05 samcv left 19:06 samcv joined 19:08 jgaz joined 19:31 RakuIRCLogger joined 19:32 lizmat_ joined, Geth__ joined 19:33 RakuIRCLogger__ left, lizmat left 19:34 Geth left 19:36 Geth__ left, Geth joined 19:37 lizmat_ left, lizmat joined 22:02 samebchase left 22:03 samebchase joined 22:23 finanalyst left 22:58 Geth__ joined 22:59 RakuIRCLogger__ joined 23:00 Geth left, RakuIRCLogger left 23:01 RakuIRCLogger__ left, Geth joined 23:45 ilogger2 left, ilogger2 joined