🦋 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.
Geth rakudo/main: 188fbb621c | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Fixups.pm6
RakuAST: add .grep / .first on RakuAST nodes

CHECK {
   .say for $*CU.statement-list.grep(RakuAST::Sub)
  }
would show the ASTs of all "subs" in the code of the file in which the CHECK is located.
13:41
lizmat draws a blank on how to do ::() lookups in NQP 14:41
Geth rakudo/main: b45b054d29 | (Elizabeth Mattijsen)++ | src/Raku/ast/literals.rakumod
RakuAST: add RakuAST::Literal.new

This will look at the type of the value passed and create the appropriate object. E.g. RakuAST::Literal.new(42) will create a RakuAST::IntLiteral because 42 is an Int.
This should make manual building of ASTs simpler.
17:53
Geth rakudo/main: c2449ef601 | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Fixups.pm6
RakuAST: normalize RakuAST.grep/first support

  - add support for :k, :kv, :p, :v to .grep
  - add support for :end for .first
18:30
lizmat is on a roll: dev.to/lizmat/so-why-is-there-raku...place-5bga 18:44
timo very good 18:51