🦋 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: 55a2622234 | (Elizabeth Mattijsen)++ | src/Raku/ast/base.rakumod
RakuAST: let .DEPARSE mixin a role into default

If given a role to process.
10:59
rakudo/main: 97d13c59c0 | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.pm6
RakuAST: reduce foreign language support to just "xsyn"

in deparsing. A role / subclass of RakuAST::Deparse should just provide an "xsyn" method, and is completely free as to how that is implemented internally.
Removes the default translation hash: the default is to always return the given key verbatim.
rakudo/main: 1657c0f4c1 | (Elizabeth Mattijsen)++ | lib/RakuAST/Deparse/CORE.rakumod
RakuAST: add the "null" translation of language deparsing

This file contains that "null" translation of features of the Raku Programming Language, and as such only has meaning as a template for other translations. It is **not** installed by default, as it serves no purpose other then by being a source code example.
If you call the .DEPARSE method with a role compatible with this role, it will automatically mix it in with the default RakuAST::Deparse class.
11:19
rakudo/lizmat-deparse-dutch: 6b259dea01 | (Elizabeth Mattijsen)++ | 2 files
RakuAST: add Dutch in foreign language deparsing
11:44
rakudo: lizmat++ created pull request #5282:
RakuAST: add Dutch in foreign language deparsing
11:46
Geth rakudo/lizmat-deparse-dutch: 50f0de1b03 | (Elizabeth Mattijsen)++ | 2 files
RakuAST: rename ::Dutch to ::NL

as suggested by jj++
12:50
rakudo/main: e3a74746b0 | (Leon Timmermans)++ (committed using GitHub Web editor) | src/core.c/Uni.pm6
Implement Uni.encode (#5274)

This allows one to write normalized unicode strings. It should be noted that this is not an optimized implementation at all, written in nqp it should be faster and even faster if it would be made a syscall.
12:53
[Coke] for the deparse, is there a goal to have non-english slangs (maybe not slangs) where keywords are in another language? 12:58
(just looking at the ::NL commit) 12:59
lizmat yes, that's the idea proposed by finanalyst and agreed upon at the RCS
[Coke]: and also the grammar should be slangifiable in the same manner as well 13:00
this should allow teaching Raku / programming in general using Raku in people's native language 13:01
Geth rakudo/main: a6bec923c5 | (Elizabeth Mattijsen)++ | src/Raku/ast/statements.rakumod
RakuAST: make $(;) return () rather than (Nil,)

Inspired by patrickb++ 's PR 5273
13:04
rakudo/main: 83cc6e7145 | (Leon Timmermans)++ (committed using GitHub Web editor) | 2 files
Add X::Temporal::OutOfRange (#5272)

X::Temporal is documented as «A common exception type for all errors related to DateTime or Date», however when an invalid date is given an X::OutOfRange is thrown instead. This adds a X::Temporal::OutOfRange that is both, to satisfy the documented requirements.
13:06
rakudo/main: 4932c2c110 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | 8 files
Rename Pod::Data to Hashray (#5267)

Because it is a more generally useful data structure.
The Hashray acts as a Hash when accessed as an Associative. And as an Array when accessed as a Positional.
... (7 more lines)
13:07
rakudo/main: 65febb98c0 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | 2 files
Provide better error message for my %h = Callable (#5213)

If it is the *only* value stored in a Map, and it is a Callable, provide an error message that points to the use of ; vs , in the contents of the Callable ({ :a; :b } versus { :a, :b }).
Addresses github.com/rakudo/rakudo/issues/5170
This change may actually be a performance improvement, as it reduces the binary size of the STORE methods involved, making it more likely they can be inlined.
13:14