🦋 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.
[Tux] Rakudo v2022.12-1-gd52342eb0 (v6.d) on MoarVM 2023.02-3-g6adfc376c
csv-ip5xs0.784 - 0.812
csv-ip5xs-205.025 - 5.190
csv-parser3.402 - 3.452
csv-test-xs-200.410 - 0.414
test6.496 - 6.549
test-t1.361 - 1.417
test-t --race0.787 - 0.801
test-t-2019.931 - 20.135
test-t-20 --race7.020 - 7.131
06:38
[Coke] tux - why is rakudo still reporting as v2022? 12:24
(master/main switch not tracked, maybe?)
[Tux], I mean. 12:25
[Tux] possible. I'll have a look 12:42
[Tux] indeed, all is master, not main. 13:19
lizmat time to change :-) 13:20
at least the Rakudo branch
[Tux] my script updates git using "master" everywhere", so lets see where stuff starts breaking when I switch to "main" 13:22
lizmat I think MoarVM is still on master
but nqp and rakudo are on main 13:23
[Tux] time to change :)
Rakudo v2023.02-291-ge68322dbc (v6.d) on MoarVM 2023.02-3-g6adfc376c
csv-ip5xs0.896 - 0.927
csv-ip5xs-205.457 - 5.741
csv-parser3.674 - 3.862
csv-test-xs-200.403 - 0.421
test7.272 - 7.304
test-t1.584 - 1.649
test-t --race1.026 - 1.125
test-t-2021.029 - 21.087
test-t-20 --race7.463 - 8.125
13:38
[Coke] ok, but the numbers went in the wrong direction. :)
[Tux] yes, but it could be that this is during "normal" hours and my box is also used for other tasks 13:40
lizmat I think those increased numbers are mainly additional startup from loading all of the RakuAST stuff
and the additional grammar / actions
[Tux] anyway, well-noticed!
[Coke] \o/ 13:42
lizmat hmmm... it just occurred to me we could potentially have a simplified Rakudoc grammar that would just produce an AST 14:29
which *could* be the base of translators
building the AST for a .rakudoc file would then be: slurp($file).AST(DocGrammar) 14:30
or something similar 14:31
nine Wouldn't that have to parse full Raku to even find all the Rakudoc? 14:32
lizmat not if we consider the code an Doc::Ambient
as per S26
meanwhile, I just found out that Block and PointyBlock are also DeclaratorTargets :-( 14:33
nine That just says what could happen to source code. But how do you differentiate between POD and Raku mixed in the same file without actually understanding the Raku? What looks like POD could be part of a string for example. 15:05
lizmat true 15:06
still, I think for pure .rakudoc files, it would be helpful?
and safer, as no code can run ? 15:07
Geth rakudo/main: 5566049023 | (Stefan Seifert)++ | 2 files
RakuAST: first support for Perl 5 regex dialect
17:45
nine Another one of those unexpected wins 17:46
[Coke] (rakudoc) - I would be fine if raku foo.rakudoc implied --doc 17:58
it is a little suprising that .rakudoc implies nothing other than .raku 17:59
lizmat [Coke]: I think some @ARGS twiddling in src/main.nqp just before $comp.command_line, would do the trick 18:05
Geth rakudo/main: d9dd95c1dd | (Elizabeth Mattijsen)++ | 12 files
RakuAST: complete grammar support for declarator docs

Trailing declarator docs can now only be specified if they start on the same line as the declarand they refer to. This is a much saner approach than in the legacy grammar where it was quite uncertain where (if ever) trailing declarator docs would get attached to.
... (19 more lines)
19:11
lizmat *phew* that took a *lot* of iterations
771! 19:17
[Coke] 771 is a lot of iterations! 19:40
nine Shouldn't this test actually fail? github.com/rakudo/rakudo/blob/main...ity.t#L121 19:45
It declares an our scoped class A while there already is a class by that name in the outer scope 19:46
Geth rakudo/main: ae0c69a935 | (Elizabeth Mattijsen)++ | 5 files
RakuAST: add .raku / deparsing / tests for RakUAST::Statement::Need

Sadly, we need to make "import" work as well to really test it.
22:14
rakudo/main: 01abff7599 | (Elizabeth Mattijsen)++ | 3 files
RakuAST: add missing parts for doc declarators on ::(Pointy)Block

So that declarator docs now also work on (pointy) blocks
22:41