­čŽő 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:02 reportable6 joined 01:02 linkable6 left, evalable6 left 01:03 evalable6 joined 01:04 linkable6 joined 03:42 evalable6 left, linkable6 left 03:43 linkable6 joined 03:45 evalable6 joined 04:54 discord-raku-bot left, discord-raku-bot joined 05:07 Xliff left 05:54 discord-raku-bot left 05:55 discord-raku-bot joined 06:00 reportable6 left 06:02 reportable6 joined 06:45 djinni` left 06:50 djinni` joined 06:54 discord-raku-bot left 06:55 discord-raku-bot joined 07:55 discord-raku-bot left, discord-raku-bot joined 08:55 discord-raku-bot left, discord-raku-bot joined 09:05 sena_kun joined 09:55 discord-raku-bot left, discord-raku-bot joined
lizmat nine: Q, is IMPL-CHECK run at CHECK time ? 10:49
fwiw, looking at implementing the trimming logic for heredocs 10:50
10:55 discord-raku-bot left, discord-raku-bot joined
lizmat it's correct that any problems found at CHECK time, won't be able to produce compile time errors with source code locations, right ? 11:10
Geth rakudo/main: 63d49ac90d | (Elizabeth Mattijsen)++ | t/12-rakuast/heredocs.rakutest
Adapt heredoc tests

The strings should be specified *with* any leading spaces, however the current implementation of RakuAST::Heredoc doesn't currently handle those correctly.
Also, it's probably a bad idea to check the result of heredocs using heredocs, so convert the tests to strings specified *without* heredocs.
Remove one test that was basically doing the same as another test.
lizmat gives up on implementing heredocs functionality for now 11:25
Geth rakudo/main: 1eee636724 | (Elizabeth Mattijsen)++ | 2 files
Add tests for RakuAST::Regex::BackReference::(Positional|Named)
12:00 reportable6 left, reportable6 joined 12:55 discord-raku-bot left 12:56 discord-raku-bot joined 13:11 Xliff joined
Xliff P6-GLib suite timing statistics for Raku 2022.12.985.g.05.cfed.1.b.0 13:11
Total number of projects: 33 (502636 loc)
Total non-parallel compile times: 8902.660 (269.778 avg)
Total parallel compile times: 1656.776 (50.205 avg) 5.373x speedup
Showing minor increases over last advertised results
Geth rakudo/main: 872edc5c69 | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.pm6
Fix deparsing of RakuAST::Regex::Block
rakudo/main: 0f21ff2c58 | (Elizabeth Mattijsen)++ | 2 files
Add tests for RakuAST::Regex::(Block|Interpolation)
rakudo/main: abb4de6795 | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.pm6
Fix deparsing of Regex::InternalModifier::xxx

  - Regex::InternalModifier::IgnoreCase
  - Regex::InternalModifier::IgnoreMark
  - Regex::InternalModifier::Ratchet
  - Regex::InternalModifier::Sigspace
The space is not necessary: spacing is handled by Regex::Sequence
rakudo/main: c8a480fd81 | (Elizabeth Mattijsen)++ | 2 files
Add tests for Regex::InternalModifier::Ignore(Case|Mark)
13:55 discord-raku-bot left 13:56 discord-raku-bot joined
Geth rakudo/main: 78526bcc93 | (Elizabeth Mattijsen)++ | 2 files
Add tests for RakuAST::Regex::Statement
rakudo/main: 7551c672c3 | (Elizabeth Mattijsen)++ | 2 files
Add tests for RakuAST::Regex::InternalModifier::(Ratchet|Sigspace)

And additionally RakuAST::Regex::WithSigspace
┬Ž DBIish: rbt self-assigned Non-repeatable test failures in Github cron job github.com/raku-community-modules/...issues/235 14:48
DBIish/main: b086171e93 | (Rod Taylor)++ | .github/workflows/test.yml
See if another time results in fewer failures
14:56 linkable6 left, evalable6 left, linkable6 joined 14:57 evalable6 joined 15:52 Xliff left
Geth rakudo/main: be13e51884 | (Elizabeth Mattijsen)++ | 3 files
Add RakuAST::Term::RadixNumber deparsing and tests
nqp: vrurg++ created pull request #793:
Provide current compiler via $*HLL-COMPILER
lizmat So, now we have the following tools to look at RakuAST: 16:18
1. Str.AST interpret given string as Raku code using new grammar and return the RakuAST nodes 16:19
2. RakuAST::Node.DEPARSE convert a given AST back to Raku code
3. RakuAST::Node.dump give a dump of the class hierarchy of the given AST 16:27
it feels to me that developer wanting to use RakuAST would like to see a 4th way:
4. RakuAST::Node.raku produce the Raku code using RakuAST::Node calls to create the given AST 16:29
currently .raku falls back to Mu.rak and doesn't produce any useful results 16:31
now, adding .raku in the src/Raku/ast world would be ... meh
I guess my question is: should such "deparsing" of ASTs to RakuAST calls be part of the core or not? 16:32
japhb That's an interesting capability ... why doesn't Mu.raku give any useful results here? Private attributes? 16:42
lizmat well, basically, yes 16:43
I mean, the code in src/Raku/ast *looks* like Raku code, but it is basically a template language for setting up the Raku bootstrap
that looks a lot like Raku :-) 16:44
[Coke] exit 16:51
lizmat [Coke]: forgot a / ?
Geth rakudo/main: 3c817a16af | (Elizabeth Mattijsen)++ | src/Raku/ast/compunit.rakumod
Normalise RakuAST class specifications (4/N)

In the sense that all roles are mentioned *under* the class specification, each on their own line. This at least makes reading these a lot easier for *me*.
No functional changes. Please revert if you think it's a bad idea.
rakudo/main: 127fb0897f | (Elizabeth Mattijsen)++ | src/Raku/ast/base.rakumod
Remove comment: that function was implemented
[Coke] just ww 17:38
18:00 reportable6 left 18:02 reportable6 joined 18:17 melezhik_ joined 18:21 melezhik_ left 18:24 notna joined 19:42 notna left 19:54 discord-raku-bot left, discord-raku-bot joined 20:04 vrurg joined, vrurg_ left 21:26 dogbert17 joined
Geth CoreHackers-Sourcery/main: 7e7e426c65 | (Polgár Márton)++ | 2 files
22:41 sena_kun left 22:56 epony left 22:58 discord-raku-bot left, discord-raku-bot joined
Nemokosch I wonder how much time it takes until it gets published 22:58
oh nice, it is up now 23:03
Geth Pastebin-Shadowcat/html-entity-fast-migration: 193003f716 | (Márton Polgár)++ (committed using GitHub Web editor) | META6.json
Dependency changed to HTML::Entity::Fast
Pastebin-Shadowcat/html-entity-fast-migration: 067d2495ad | (Márton Polgár)++ (committed using GitHub Web editor) | lib/Pastebin/Shadowcat.rakumod
Adapt module to using HTML::Entity::Fast
Pastebin-Shadowcat: 2colours++ created pull request #5:
HTML::Entity::Fast migration
Pastebin-Shadowcat/main: 193003f716 | (Márton Polgár)++ (committed using GitHub Web editor) | META6.json
Dependency changed to HTML::Entity::Fast
Pastebin-Shadowcat/main: 067d2495ad | (Márton Polgár)++ (committed using GitHub Web editor) | lib/Pastebin/Shadowcat.rakumod
Adapt module to using HTML::Entity::Fast
Pastebin-Shadowcat/main: 671292d46b | (Márton Polgár)++ (committed using GitHub Web editor) | 2 files
Merge pull request #5 from raku-community-modules/html-entity-fast-migration

HTML::Entity::Fast migration
Pastebin-Shadowcat/main: 251a51adbb | (Polgár Márton)++ | 3 files
23:35 heartburn joined
Geth Pastebin-Gist/main: 7518b4468d | (Polgár Márton)++ | 3 files
rakudo/main: e614d978d2 | (Elizabeth Mattijsen)++ | 2 files
Add test for RakuAST::Statement::Control