🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:04 deoac joined 00:05 deoac left, deoac joined 00:06 deoac95 joined 00:14 pierrot left 00:15 pierrot joined 00:44 jpn joined 00:48 jpn left 01:27 kylese joined, hulk left 02:09 jpn joined 02:11 MasterDuke joined 02:14 jpn left 02:15 kylese left, kylese joined 03:08 deoac95 left, deoac left 03:57 jpn joined 04:02 jpn left 04:54 jpn joined 04:59 jpn left 06:26 Sgeo left 06:50 dawids joined, dawids left 07:33 jpn joined 07:40 jpn left 07:49 sena_kun joined 07:51 dakkar joined 07:54 soverysour joined
gfldex lizmat: where can I find RakuAST::Deparse::Highlight ? 08:26
lizmat in Rakudo HEAD: lib/RakuAST/Deparse/Highlight.rakumod 08:28
08:30 sena_kun left 09:04 jpn joined 09:30 jpn left 09:37 jpn joined 09:41 jpn left 09:42 jpn joined 09:53 soverysour left 09:54 jpn left 09:56 jpn joined 10:13 jpn left 10:15 jpn joined 10:19 jpn left 10:36 Altreus left 10:37 Altreus joined 11:08 jpn joined 11:14 jpn left 12:05 Chanakan left 12:06 Chanakan joined 12:11 soverysour joined 12:16 Chanakan5591 joined, Chanakan left 12:34 jpn joined 12:36 drakonis joined 12:39 jpn left 13:19 Xliff joined
Xliff m: "lang.raku".IO.slurp.AST.DEPARSE("FR").say 13:19
camelia Failed to open file /home/camelia/lang.raku: No such file or directory
in block <unit> at <tmp> line 1
tellable6 hey Xliff, you have a message: gist.github.com/1db4e72d819e6daa7c...f6e5c38112
Xliff m: "say True; say False".AST.DEPARSE("FR").say 13:20
camelia ===SORRY!=== Error while compiling /home/camelia/EVAL_1
Could not find RakuAST::Deparse::L10N::FR in:
/home/camelia/.raku
/home/camelia/rakudo-m-inst-1/share/perl6/site
/home/camelia/rakudo-m-inst-1/share/perl6/vendor
/…
Xliff Did the L10N thing fall through the cracks? I thought FR was included... or am I missing a module? 13:21
13:21 soverysour left 13:32 soverysour joined
ugexe presumably you need to `use RakuAST::Deparse::L10N` 13:59
(just based on the error message) 14:00
m: use RakuAST::Deparse::L10N; "say True; say False".AST.DEPARSE("FR").say
camelia ===SORRY!=== Error while compiling <tmp>
Could not find RakuAST::Deparse::L10N in:
/home/camelia/.raku
/home/camelia/rakudo-m-inst-1/share/perl6/site
/home/camelia/rakudo-m-inst-1/share/perl6/vendor
/home/camelia/rakudo…
ugexe m: use RakuAST::Deparse::L10N; 14:01
camelia ===SORRY!=== Error while compiling <tmp>
Could not find RakuAST::Deparse::L10N in:
/home/camelia/.raku
/home/camelia/rakudo-m-inst-1/share/perl6/site
/home/camelia/rakudo-m-inst-1/share/perl6/vendor
/home/camelia/rakudo…
ugexe m: say $*RAKU.compiler.version
camelia v2024.06.14.g.604.d.6617.c
[Coke] m: use L10N;
camelia ===SORRY!=== Error while compiling <tmp>
Could not find L10N in:
/home/camelia/.raku
/home/camelia/rakudo-m-inst-1/share/perl6/site
/home/camelia/rakudo-m-inst-1/share/perl6/vendor
/home/camelia/rakudo-m-inst-1/share/pe…
[Coke] m: use L10N::FR 14:02
camelia ===SORRY!=== Error while compiling <tmp>
Could not find L10N::FR in:
/home/camelia/.raku
/home/camelia/rakudo-m-inst-1/share/perl6/site
/home/camelia/rakudo-m-inst-1/share/perl6/vendor
/home/camelia/rakudo-m-inst-1/shar…
ugexe yeah i'm not sure the way the RakuAST::Deparse is setup exactly right 14:04
14:04 jpn joined
ugexe github.com/rakudo/rakudo/blob/604d...ku#L18-L22 14:04
seems like that should be listing everything else under that namespace 14:05
14:09 jpn left 14:16 drakonis left, drakonis joined 14:20 jpn joined 14:25 jpn left 14:27 sadome joined, sadome left
tbrowder hi, anybody build and publish any casks for homebrew? 14:28
lizmat Xliff: L10N was taken out of core 14:30
tbrowder duh, i guess the infra team does…
lizmat Xliff: zef install L10N
14:49 jpn joined 15:01 jpn left
tbrowder lizmat: what do you think about having two more raku irc channels: raku-windows and raku-macos? the channels would be for discussing howto and porting issues for those os’s. i want to build necessary raku apps so my modules can at least run on linux AND mac. 15:03
lizmat at this point in time, I'd say that was overkill: we don't have a lot of traffic... and for those issues, I think #raku-dev would suffice for the moment? 15:05
tbrowder ok 15:46
15:46 soverysour left 16:02 soverysour joined, soverysour left, soverysour joined 16:11 jpn joined
[Coke] happy to test stuff on mac. 16:17
(and probably able to test on windows)
16:17 Maylay left 16:34 Maylay joined 16:35 dakkar left
Xliff lizmat: Thanks. 16:46
16:53 ky left 16:54 ky joined 16:58 jpn left 17:19 soverysour left 17:21 soverysour joined, soverysour left, soverysour joined 17:34 jpn joined 17:42 jpn left 17:45 soverysour left 17:48 xinming left 17:50 xinming joined 17:52 soverysour joined 17:56 Maylay left 18:00 Maylay joined 18:11 avuserow_ left 18:32 soverysour left 18:45 soverysour joined 18:50 soverysour left 19:19 soverysour joined 19:21 ttyyls left
[Coke] vim question - what's the magic to search for the literal ~= - just backslashing the characters in insufficient. 19:23
I feel like I should have solved this in the THIRTY FIVE years i've been using vi. 19:24
lucs I believe you need to backslash the tilde only, but there are settings that may affect how regexes are interpreted. 19:26
19:26 soverysour left
lucs Er, when you say 'magic', do you mean what Vim means if you lookup ":help magic"? 19:27
[Coke] I didn't mean literally magic. 19:28
thank you, escaping ONLY the ~ was key.
\~\= seems to just find the next character.
lucs Yeah, tilde alone in a regex is special, as is \= :-) 19:36
scullucs For people reading this in Discord, some backslashes are not being shown, eh, too bad. 19:38
[Coke] feels like ~ is only special when substituting, not searching, and it's getting the substitute treatment in vim.
lucs Hmm... I seem to need to escape it even when just searching for it. 19:39
[Coke] ok, I have to remember \V~= 19:42
19:50 MasterDuke left 19:56 soverysour joined 20:01 soverysour left 20:30 soverysour joined 20:33 bdju left 20:34 soverysour left 20:37 bdju joined 20:39 thaewrap1 left 20:41 thaewrapt joined 21:06 soverysour joined 21:10 soverysour left 21:13 thaewrapt left 21:15 thaewrapt joined
antononcube "vim question" 😱 21:28
Xliff OK. I'm trying to write some reusable code in Raku, but for reasons... they need to be macros. 21:32
scullucs What's your preferred editor? Maybe you use different ones depending on what you're working on?
Xliff gist.github.com/Xliff/aa252e991b97...3cf3e9e6f1 21:34
antononcube @lucs For a long time I prefered Emacs for almost everything. I think that stopped ≈ 2012. Right now -- more Raku-wise -- I using Commaide to for wrting Raku packages and Jupyter notebooks in VS Code ("chatboos", actually) to do research or visualizations with Raku. I tried Emacs and Raku and did not like it; nevertheless I use it time-to-time, mostly, for debugging. 21:49
I do use Emacs with org-mode a lot, BTW.
21:54 Sgeo joined 21:59 guifa left 22:06 hudo_ left 22:07 hudo joined, hudo left, hudo joined 22:23 guifa joined 22:59 jpn joined 23:03 jpn left 23:39 tib_ left, tib_ joined