🦋 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, reportable6 joined 01:14 evalable6 left, linkable6 left 01:15 evalable6 joined 01:17 linkable6 joined 01:30 MasterDuke joined
ugexe MasterDuke: if those just read the MVMStat how does it handle when it needs to get additional lstat data? 01:53
i was thinking that would require making a separate call to lstat
MasterDuke it would have passed a 1 for the use_stat flag in the original file-stat call 01:54
tellable6 2023-07-25T08:31:59Z #moarvm <dogbert17> MasterDuke: thanks, so with some luck someone will approve github.com/MoarVM/MoarVM/pull/1761 :)
MasterDuke *use_lstat
ugexe oh for some reason i thought it handled that nqp::fileislink($path) call in DIR-RECURSE 01:56
but i see i imagined that
MasterDuke heh 01:57
02:04 gfldex left 02:06 gfldex joined 02:58 rypervenche joined 06:00 reportable6 left 06:03 reportable6 joined 07:52 sena_kun joined 08:49 ab5tract joined 09:31 sena_kun left 09:59 ab5tract left 12:00 reportable6 left 12:02 reportable6 joined 12:22 jgaz left, jgaz_ joined 12:36 ab5tract joined
lizmat m: my %a = a => 42, b => 666; dd %a; %a xx= 0; dd %a # another way to reset a hash :-) 12:46
camelia Hash %a = {:a(42), :b(666)}
Hash %a = {}
Geth rakudo/main: 206c4552b1 | (Elizabeth Mattijsen)++ | src/Raku/ast/expressions.rakumod
RakuAST: add a worry for xx= as being non-sensical
12:57 ab5tract left 13:29 ab5tract joined
Geth DateTime-Format/main: 737b453243 | (Clifton Wood)++ | lib/DateTime/Format.rakumod
- Fixes missing 0-padding for date in the %x spec and seconds in the %X spec.
14:31 samcv left 14:32 samcv joined
Geth rakudo/main: 5af65d33df | (Elizabeth Mattijsen)++ | src/Raku/ast/expressions.rakumod
RakuAST: channel op= through METAOP_ASSIGN

Just like with the legacy grammar. This has the disadvantage of needing to call a sub (which in turn calls a Rakudo::Internals method) for each op= execution.
Another solution would be to directly codegen the meta-op for the ... (5 more lines)
lizmat +3 test-files 14:50
iow 898 / 1357
15:12 ab5tract left
Geth rakudo/main: 1b44da3eb6 | (Elizabeth Mattijsen)++ | src/Raku/ast/expressions.rakumod
RakuAST: use nqp::isfalse instead of nqp::not_i(nqp::istrue

Why use two nqp ops when one will suffice?
16:12 linkable6 left, evalable6 left 16:14 evalable6 joined, linkable6 joined
Geth rakudo/main: ec6671d1ea | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: cleanup/document statement modifiers/prefixes

  - add some more helper methods
  - group similar entities together in alphabetical order
  - add some documentation
No functional changes, just make it more readable
nine lizmat++ 17:42
17:48 sena_kun joined 18:00 reportable6 left 18:02 reportable6 joined
Geth rakudo/main: 4c1ea9fe7a | (Elizabeth Mattijsen)++ | 2 files
RakuAST: more cleanup/document statement modifiers/prefixes

Now also in the grammar
20:12 notna joined 20:17 notna left
Geth rakudo/main: 652b30502b | (Elizabeth Mattijsen)++ | 2 files
RakuAST: simplify blorst handling

This saves one ternary check for each blorst
22:19 sena_kun left