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.
01:46 jgaz left 02:15 teatime left 02:16 teatime joined 02:20 teatime left 02:21 teatime joined 02:24 teatwo joined 02:26 teatwo left, teatwo joined 02:27 teatime left 04:30 Heptite left 07:21 kjp left 07:24 kjp joined
rcmlz Question to Comma IDE: Situation: I have a "local playground" project in Comma, where I keep track of the dependencies in a META6.json Every time I upgrade my Raku (using rakubrew) I install all dependencies using zef manually. However, in the settings of all projects I see the option "Project Packet Manager", which I point to "zef" in e.g. 07:52
/Users/rcmlz/.rakubrew/versions/moar-2023.04/share/perl6/site/bin/zef Problem: I can not find the button in Comma that installs all dependencies I list in META6.json. How do I make Comma use the information in the META6.json of a local project to install all the dependencies automatically? Thank you.
08:02 Manifest0 joined
I have written an email to info@commaide.com - perhaps they know the solution and can help. I will let you know if there is one ... 08:02
08:08 dakkar joined 08:47 ab5tract left
Ups, I did not follow the good old "did you switch in on/off-advice" before posting here. After restarting Comma there is a pop-up asking if I like to install the missing dependencies. 08:51
lizmat *phew* :-) 08:52
11:39 Heptite joined 13:27 jgaz joined 13:36 habere-et-disper joined
habere-et-disper Are `not $foo %% $bar` and `$foo !%% $bar` equivalent enough that I'm not going to run into trouble using either? 13:38
Aside: I got some more dependency issues compiling 2023-04. Does it warrant another issue? 13:41
CIAvash: is it doable to have chroma handle greater granularity with raku's hyper operator? I'm finding ligation is an issue with it. See: github.com/be5invis/Iosevka/issues...1513203097 13:46
Anton Antonov Good to know. I have to say I am not familiar with the text/code highlighting frameworks. 14:00
habere-et-disper @Anton Antonov: I've found chroma to have the best raku support. 14:04
Anton Antonov Just highlighting? 14:08
habere-et-disper Yes - syntax highlighting 14:13
Anton Antonov Meh. 🙂
Ok, I will try to see can I incorporate it in the exports of "Markdown::Grammar". 14:14
From that perspective, JavaScript highlighters are prefrable.
14:18 tea3po joined 14:22 teatwo left 14:23 jgaz left 14:24 jgaz joined
Nemokosch what data format does Chroma even use? 14:31
14:32 Heptite left
habere-et-disper I think ask CIAvash. Output appears to be: json, html & svg 14:33
14:48 lucs left 14:49 lucs joined
Anton Antonov I assumed -- or read -- that HTML is the output. Hence, in principle, it can be a plug-in for "Markdown::Actions::HTML". 14:54
habere-et-disper The HTML output appears most flexible as you get custom stylesheets which can be modified to suit. 14:58
(Latex output appears under consideration. ) 14:59
15:01 Heptite joined
Nemokosch I'm more interested in the input, as in, how do you define the grammar 15:02
habere-et-disper Chrom'a raku lexer is in go 15:04
github.com/alecthomas/chroma/blob/...rs/raku.go
Nemokosch well well, that's the opposite of portable then 15:29
15:43 habere-et-disper left 16:35 dakkar left 17:26 habere-et-disper joined 19:08 habere-et-disper left 23:22 Manifest0 left 23:24 habere-et-disper joined 23:38 jgaz left