🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:02 reportable6 left 00:05 reportable6 joined 00:09 pony joined 00:34 pony left 00:59 vrurg left 01:10 kjp left
Petr how convert string to byte array? 01:20
01:20 vrurg joined
Mondenkind .encode 01:22
ugexe all we've got left are bort arrays 01:24
Petr thanks 01:25
const char *string is Str in Raku? 01:26
I try to play with Nativecall
Voldenet yes 01:46
guifa hrm, found another big (I had a < where the C original had a >, d'oh) but still haven't tracked down the new-disp error 01:53
Petr Function(const char *str){}. Cant find how it use from NativeCall 01:56
will never work with declared signature (Str) 01:59
02:20 evalable6 left, linkable6 left 02:23 linkable6 joined
Voldenet discord-raku-bot: you can call it like that, but 02:24
keep the extern 02:25
Petr#9247: this works for me (boilerplate so I don't have to maintain two files and a makefile) ix.io/3BXL 02:29
Petr Thanks!! I try ) 02:30
03:00 Xliff_ left 03:18 pony joined 04:07 pony left 04:14 frost joined 04:21 evalable6 joined 04:29 mahafyi left 04:55 gordonfish- joined 04:58 gordonfish left 05:58 linkable6 left, quotable6 left, nativecallable6 left, bisectable6 left, releasable6 left, notable6 left, bloatable6 left, unicodable6 left, evalable6 left, statisfiable6 left, greppable6 left, shareable6 left, benchable6 left, squashable6 left, committable6 left, sourceable6 left, reportable6 left, tellable6 left, coverable6 left, releasable6 joined 05:59 notable6 joined, unicodable6 joined, coverable6 joined, nativecallable6 joined 06:00 benchable6 joined, greppable6 joined, committable6 joined, squashable6 joined 06:01 tellable6 joined, bisectable6 joined 06:04 clarjon1 joined, reportable6 joined 06:23 jcallen_ is now known as jcallen 06:51 summerisle is now known as eof 06:58 quotable6 joined 07:00 linkable6 joined 07:01 sourceable6 joined 07:21 dogbert17 left 07:29 dogbert17 joined 07:33 clarjon1 left, clarjon1 joined 07:43 pony joined 07:59 evalable6 joined, shareable6 joined 08:15 dogbert17 left
Geth raku.org: 0e5c1645c7 | (Elizabeth Mattijsen)++ | 9 files
Remove ® from the most visible places

But add it to the footer that's everywhere
09:15 evalable6 left, linkable6 left 09:17 linkable6 joined 09:24 dogbert17 joined 09:34 Sgeo left
Geth raku.org: eb12713f71 | (Elizabeth Mattijsen)++ | source/index.html
Missed one "in your face" ®
10:00 bloatable6 joined, statisfiable6 joined 10:02 raydiak left 10:20 anser joined 11:17 evalable6 joined 11:28 mahafyi joined 11:36 anser left 11:53 DarthGandalf left 11:55 DarthGandalf joined 12:01 clarjon1 left 12:03 reportable6 left 12:05 reportable6 joined 12:06 squashable6 left 12:08 squashable6 joined 12:46 squashable6 left 13:21 frost left
perryprog in yo face, big disgrace 14:02
Geth doc: dumarchie++ created pull request #3973:
Document pop, shift, push and append more concisely
14:21 linkable6 left, evalable6 left, evalable6 joined 14:45 patrickb joined 14:47 squashable6 joined
patrickb o/ 15:10
15:47 evalable6 left 15:52 idiosyncrat joined 15:55 idiosyncrat left 16:03 colemanx joined 16:27 Kaiepi left, Kaiepi joined 16:40 clarjon1 joined
tbrowder patrickb: \o 16:56
patrickb: any idea when rakudo/src/Perl6 dir will be renamed 16:58
17:00 euandreh left 17:03 pmurias joined
patrickb o/ 17:04
17:04 euandreh joined, euandreh left 17:05 pmurias left, euandreh joined
patrickb tbrowder: I might be wrong, but I think jnthn has the intention to build RakuAST in rakudo/src/Raku and drop rakudo/src/Perl6 after RakuAST went live. Could be I confuse this with some other dir though. 17:06
lizmat yes, I think that's the plan 17:10
17:17 Xliff joined
Xliff Has anyone seen this error before? 17:18
lang-call cannot invoke object of type 'VMNull' belonging to no language
lizmat that feels like a dispatcher dropping the ball somewhere along the way
probably better reported on #moarvm 17:19
17:21 linkable6 joined 17:24 Kaipi joined 17:25 Kaiepi left 17:28 Kaipi left, Kaipi joined
Xliff TThanks, lizmat 17:32
17:48 evalable6 joined
guifa can't seem to track down the error :-( 17:50
tbrowder thnx, sounds good 17:51
18:03 reportable6 left, eseyman joined 18:06 reportable6 joined 18:33 abraxxa-home joined 18:49 Sgeo joined 18:55 Kaipi left, Kaipi joined 19:06 sena_kun left, sena_kun joined 19:10 Merfont joined, Kaipi left 19:18 Kaipi joined, Merfont left
japhb lizmat: Emotes (like guifa's above) don't seem to be sufficiently visually distinct (to my eyes, at least). Italics maybe? 19:20
19:32 linkable6 left 19:35 linkable6 joined 19:42 Merfont joined, Kaipi left 19:47 Kaipi joined 19:48 Merfont left 20:09 patrickb left 20:25 Kaipi left, Kaipi joined 20:27 Merfont joined, Kaipi left 20:43 abraxxa-home left 21:19 Merfont left
eof multiple here-documents on the same line is a truly terrifying prospect when writing syntax highlighters 21:19
21:19 Merfont joined
eof i looked into whether treesitter could handle raku for this, and it doesn't seem like it has the capacity to fully support some of the language constructs. 21:22
MasterDuke interesting, i'd wondered that 21:28
eof as-is, i currently have a string propertizer for emacs that can deal with the entire range of adverbs and quoting constructs (save for heredoc) correctly and I'm currently thinking about how I want to approach heredoc. 21:35
22:19 evalable6 left, linkable6 left 22:22 colemanx left 22:28 perlbot left 22:29 simcop2387 left 22:31 simcop2387 joined 22:37 perlbot joined
tbrowder eof: a proper heredoc handler for emacs would be most welcome! 22:44
as a hint, reading the Synopsis 2 on heredocs might help you see how Raku parses them 22:46
eof I had actually had a working prototype for heredoc built around a previous strategy, but rethought the way things currently work a bit. 22:55
the strategy described in Syn.2 si optimal; however, the current approach I am using in emacs is still a "dumb" linear analysis that decorates text and moves on. this is primarily for the sake of efficiency. 22:56
i think i would ideally store a parse tree and then walk that to decorate text. it would work better; however, assembling a quality tree in emacs would require almost completely implementing and maintaining a raku parser in emacs 22:57
i have wondered if the best approach is to write some raku that can spit out the parse tree for a file in sexprs and then emacs can work over that. the primary issues I can think of for this approach are that I'm not certain that I can easily get quality parse trees for invalid or incomplete code, and that there is potential for noticeable lag when updating the document - asynchronous execution of the raku code would prevent the interface from freezing, but font faces 22:59
would update slower than you could type
22:59 Merfont left 23:00 Merfont joined
eof perhaps i'll play with cedet/semantic and see if that is a good fit 23:11
and then there's the matter of that being stale 23:16
23:20 linkable6 joined 23:21 Kaipi joined 23:22 Merfont left 23:25 Manifest0 left
eof it looks like treesitter can pull of heredocs with interpolation, so that's promising. dealing with balanced parens may be a bit tricky 23:27
plus the wide range of possible interpolations that may or may not be possible
23:49 Merfont joined 23:50 Kaipi left
Geth Raku-Steering-Council/main: 7e55480f68 | (Geoffrey Broadwell)++ | minutes/20211002.md
Fix typo in 2021-10-02 RSC meeting minutes
Raku-Steering-Council/main: 69f10bbea0 | (Geoffrey Broadwell)++ | minutes/20211016.md
Add RSC meeting minutes for 2021-10-16
23:58 Merfont left