This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
00:06 habere-et-disper left 01:11 Heptite joined
shmup that was insufferable. 01:31
Teressa very inappropritely targetted Nemokosch who did nothing so harmfully "psasive aggressive", creating a whole Mood in here, only to again get him an "official warning". it's kinda lol if anyone just reads scrollback with any criticial reading 01:37
that's all ~ carry on cheerio
falsifian I've been reading the scrollback from 08:30 UTC and am really confused. 01:38
shmup lol 01:39
02:13 teatwo left, teatwo joined 02:21 MasterDuke left 02:34 teatwo left, teatwo joined 03:29 MasterDuke joined 04:19 Heptite left 06:04 tea3po joined 06:07 teatwo left 07:27 frost joined 07:38 frost left 07:44 frost joined 07:48 Manifest0 joined, frost left 09:13 lizmat sets mode: -b *!~discord-r@2001:19f0:c:d0d:5400:4ff:fe47:9405 09:18 habere-et-disper joined
habere-et-disper What's the story with int32 -- I can't find it in the docs? 09:29
> (int32).WHAT
(int32)
> int32.^methods
No such method 'methods' for invocant of type
'Perl6::Metamodel::NativeHOW'
  in block <unit> at <unknown file> line 1
> my int32 $foo;
0
> say $foo;
Bytecode validation error at offset 170, instruction 24:
operand type 32 does not match register type 24 for op getlex_ni in frame <unit>
lizmat the last one is an artefact of the REPL 09:30
m: my int32 $foo; say $foo
camelia 0
lizmat also: if you do that in the REPL on a single line, it'll work
habere-et-disper Yeah -- I noticed that!
lizmat also: native ints aren't really objects, they just pretend to be
m: int32.^methods 09:31
camelia No such method 'methods' for invocant of type
'Perl6::Metamodel::NativeHOW'
in block <unit> at <tmp> line 1
lizmat I'd say that's an LTA error
there should probably be an issue of that if there isn't already 09:32
habere-et-disper The first row on my keyboard switches on and off sometimes, so I often get to see the suggestions from typos. The only typo that seemed missing was a suggestion for 'say' from 'sa'. 09:36
09:54 habere-et-disper left 11:03 samebchase7 joined 11:04 gfldex left, gfldex joined, samebchase left, samebchase7 is now known as samebchase 13:57 habere-et-disper joined 14:12 tea3po left, tea3po joined 14:24 teatwo joined 14:28 tea3po left 14:44 jgaz joined 15:20 habere-et-disper left 16:03 Heptite joined 16:41 rcmlz joined
rcmlz I am trying to estimate the effort of implementing syntax-highlighting for Raku in Prism. Prism is used in e.g. Obsidian. There is a Perl-definition as starting point. github.com/PrismJS/prism/blob/mast...sm-perl.js - 156 lines of JS code. Reading it I sort of understand the definition for Perl. Would this same definition work 16:48
more or less also for Raku? Is there a way to generate the input for the line 150 "keyword" automatically, as I suspect that there a quite a few new keywords in Raku compared to Perl? Thank you for your thoughts.
16:52 rcmlz left 17:15 jgaz left 17:46 habere-et-disper joined 18:08 jgaz joined 21:10 jgaz left 21:25 habere-et-disper left 22:16 Heptite left 22:25 Heptite joined 23:03 habere-et-disper joined