🦋 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:09 reportable6 left 01:08 kjp left 01:17 CIAvash left 01:18 CIAvash joined
tonyo .tell curiosa if you're writing a slang, the parsing state info should go into the grammar and the actions should handle the qast generation (if that relies upon the token state then keep track of that state separately or design your tokens around the design so that you can tell which flavor the match is 01:47
tellable6 tonyo, I'll pass your message to curiosa
codesections . 02:01
02:18 linkable6 left, evalable6 left, evalable6 joined 02:19 juanfra__ left 02:20 juanfra__ joined, linkable6 joined
tonyo .tell tbrowder finally got cro to install and will start working on that tut 02:22
tellable6 tonyo, I'll pass your message to tbrowder
02:27 jaguart joined 02:34 lockywolf_ left 02:38 lockywolf_ joined 03:01 frost joined 03:09 reportable6 joined 03:12 razetime joined 04:11 yonnybg joined 04:25 Darkcoal joined 04:31 lockywolf_ left 04:35 lockywolf_ joined 04:52 kjp joined 04:59 lockywolf_ left 05:02 lockywolf_ joined 05:59 frost left 06:05 reportable6 left 06:08 reportable6 joined 06:15 mexen joined 06:58 Sgeo left 07:13 Darkcoal left 07:17 frost joined 07:37 jjido joined 07:39 abraxxa joined 07:44 frost left 07:47 abraxxa left 07:48 abraxxa joined 08:09 jjido left 08:19 frost joined 08:21 qorg11 left
jaguart In a Grammar - is it possible to use a changing quantifier that is captured within the regex? E.g. given: "s:3:abc;s:5:defgh" I want to do something like token str { 's:' $<num>=[\d+] ';' $<content> = [ . ** { $<num>} ] } so that $<content> is set to "abc" and "defgh" respectively? 08:35
The $<content> captures can contain any chars - quotes, newlines etc. so I really want to extract by quantifier, and the char-count is considered reliable. 08:38
MasterDuke m: say "a3bbbc" ~~ /a(\d)b**{$0}c/; say "a3bbc" ~~ /a(\d)b**{$0}c/; say "a3bbbbc" ~~ /a(\d)b**{$0}c/ 08:47
camelia 「a3bbbc」
0 => 「3」
Nil
Nil
MasterDuke jaguart: like that ^^^ ? 08:48
09:06 dsad joined
dsad hey 09:06
can anyone help me?
I have school presentation of Raku
and i need some help
lizmat the school presentation is about the programming language Raku ? 09:09
09:10 dakkar joined
dsad yes 09:11
lizmat
lizmat Cool
so what would you want / need ?
dsad i would like to know about most important features of raku 09:13
for example
like if its open source
and anything like that
just basics 09:14
lizmat If you don't know whether Raku is open source, then I suggest you do a little more home work, like visiting raku.org and come back here if you have more questions :-) 09:15
dsad im very bad at english 09:17
thats my only source
the original raku website
lizmat what is your native language?
dsad finnish 09:18
finsih
finish
lizmat ah, hmmm... that's still missing from raku.guide :-(
perhaps the english version of raku.guide would be helpful for your school project? 09:20
dsad All i know its similar to perl ruby smalltalk haskell javascript and its for scripting web dev and managing different texts
well i will look at it 09:21
how can i access to raku by my own hands? 09:22
visual studio?
lizmat if you like IDE's, you should probably download the community version of commaide.com
dsad hmm i dont get raku running on that 10:06
idk
10:06 dsad left 10:32 dogbert17 joined, Kaipi joined 10:34 dakkar left, vrurg_ joined 10:35 Kaiepi left, dogbert11 left
Geth doc: 70a96d3931 | jaffa4++ (committed using GitHub Web editor) | doc/Language/nativecall.pod6
Update nativecall.pod6 (#4026)

Closes #4025
  * Update nativecall.pod6
More emphasis how to use Pointer class. ... (10 more lines)
10:36
doc: 6b9ae52b83 | (JJ Merelo)++ | doc/Language/nativecall.pod6
Minor grammar tweaks
10:39
10:40 camelia left, zostay left, discord-raku-bot left, quotable6 left, bisectable6 left, simcop2387 left, xinming left, sftp left, clarkema left, amenonsen left, jjatria left, silug left, rypervenche left, El_Che left, DarthGandalf left, Util left, destroycomputers left, jercos left, Maylay left, samebchase left, perryprog left, unicodable6 left, Arathorn left, charsbar left, Juerd left, ugexe left, eof left, Ulti left, peder left, mexen left, colemanx left, sivoais left, ProperNoun left, GreaseMonkey left, jcallen left, ecocode left, dustinm` left, lucs left, patrickb left, lucerne left, ingy left, Tirifto left, esh left, mykhal left, elcaro left, SmokeMachine left, pjlsergeant left, patterner___ left, Woodi left, epony left, avar left, pejayes left, samcv left, dg left, tonyo left, bartolin_ left, greyrat_ left, gfldex left, abraxxa left, reportable6 left, razetime left, linkable6 left, evalable6 left, Altreus left, spacekookie_ left, leont left, kawaii_ left, PotatoGim left, skaji left, rba left, tobs left, tbrowder left, Grrrr left, markmarkmark left, leah2 left, merpaderp left, Zgredu[m] left, anight[m] left, vodkra left, bd3i left, gabiruh left, thowe left, dpk left, mjgardner left, ecocode__ left, JRaspass left, jdv left, masak left, renormalist left, Summer left, juanfra__ left, djerius left, Altai-man left, bdju left, timo left, lgtaube left, japhb left, Xliff left, TempIRCLogger left, solitario left, jast left, gugod left, nebuchadnezzar left, leedo left, ph88 left, eseyman left, chronon left, synthmeat left, mtj left, daxim left, rjbs left, moritz left, broquain1 left, frost left, CIAvash left, [Coke] left, kybr left, MasterDuke left, bloatable6 left, releasable6 left, sourceable6 left, shareable6 left, greppable6 left, nativecallable6 left, statisfiable6 left, tellable6 left, committable6 left, notable6 left, coverable6 left, squashable6 left, benchable6 left, AlexDaniel left, unclechu left, corwin left, Voldenet left, KotH left, _________ left, lockywolf_ left, yonnybg left, jaguart left, andinus left, jmcgnh left, vasko left, Scotteh left, dac left, goblin left, jrjsmrtn left, clarjon1 left, RakuIRCLogger left, lizmat left, swaggboi left, a3r0 left, xkr47 left, Ekho left, BinGOs left, gordonfish left, moon-child left, andrea[m] left, slowtyper left, perlbot left, oodani left, Manifest0 left, pierrot left, m_athias left, nine left, sjn left 10:41 dakkar left, kjp left, Kaiepi left, dogbert11 left, Geth left, codesections left, vrurg left, maettu left, perlmaros left, ilogger2 left, tinita left, phogg left 10:44 frost left 10:46 kjp joined, Geth joined, codesections joined, maettu joined, perlmaros joined, ilogger2 joined, tinita joined, phogg joined 10:47 dakkar joined 10:59 frost joined
Geth doc: 3b3f69306d | (JJ Merelo)++ | 2 files
Minor grammar fixes
11:06
11:38 frost left 11:54 andinus left
tbrowder .tell tonyo thanks, and see moritz’s info on setting up systemd for cro app 11:56
tellable6 tbrowder, I'll pass your message to tonyo 11:57
12:06 reportable6 left 12:09 frost joined 12:30 frost left 12:44 qorg11 joined 13:44 benchable6 left, releasable6 left, nativecallable6 left, statisfiable6 left, notable6 left, greppable6 left, bloatable6 left, linkable6 left, shareable6 left, sourceable6 left, squashable6 left, evalable6 left, quotable6 left, unicodable6 left, tellable6 left, bisectable6 left, coverable6 left, committable6 left 13:45 bloatable6 joined, squashable6 joined, bisectable6 joined 13:46 sourceable6 joined, shareable6 joined, committable6 joined 13:47 statisfiable6 joined, nativecallable6 joined, evalable6 joined, benchable6 joined 13:48 tellable6 joined 14:09 reportable6 joined 14:10 qorg11 left 14:13 qorg11 joined, razetime left
tbrowder .tell tonyo that was yesterday at about 1102 CDT 14:21
tellable6 tbrowder, I'll pass your message to tonyo
14:32 epony left 14:37 guifa joined 14:45 greppable6 joined 14:47 quotable6 joined, releasable6 joined 14:51 Sgeo joined 15:45 coverable6 joined 15:47 linkable6 joined, unicodable6 joined 16:16 epony joined
[Coke] hurls gist.github.com/coke/6e1d0d16c9027...b3830bbba5 just to see if the *leading* semicolons bother anyone else. 16:32
moritz yes, it hurts. 16:46
El_Che [Coke]: why do you hate people? 16:56
:)
gfldex Looks like "art" to me. 16:57
perryprog why did you comment out all your code 16:59
and you forgot parens around each line
16:59 andinus joined
gfldex m: ;&say.("copper {25-9+12+12+18+18+12}") 17:08
camelia copper 88
gfldex perryprog: like so ^^^ ?
17:19 abraxxa left
tonyo [Coke]: that reminds me of comments in some lang but can't remember which 17:20
17:20 abraxxa joined
tellable6 2022-02-10T11:57:00Z #raku <tbrowder> tonyo thanks, and see moritz’s info on setting up systemd for cro app 17:20
2022-02-10T14:21:31Z #raku <tbrowder> tonyo that was yesterday at about 1102 CDT
tbrowder emacs? lisp 17:23
tellable6 2022-02-10T02:22:16Z #raku <tonyo> tbrowder finally got cro to install and will start working on that tut
tonyo lisp is most likely 17:24
17:28 abraxxa left 17:42 dakkar left 17:45 notable6 joined 17:47 mexen left
timo give the newest JSON::Fast a go, everyone 17:48
tbrowder okey dokey 17:49
lizmat timo : I guess we need to wait for about an hour 17:50
it's not in the ecosystem yet
timo ah, coming very soon to a cpan mirror and cpan content listing near you
lizmat it will be in the REA in a few minutes 17:51
actually, did you know that there are no CPAN mirrors anymore?
there's just a single load-balanced / distributed URL nowadays, afaik
timo OK, so less a loose network of mirrored servers with perhaps different update frequencies, more a CDN like thing 17:52
lizmat yup, a CDN 17:56
timo CDAN 17:58
japhb timo: What's new in the newest JSON::Fast? 17:59
lizmat :immutable
+ the ability to specify defaults for to-json and from-json 18:00
in the use statement
and 1% faster overall, and 9% faster for the immutable version (with a smaller memory footprint)
dinner&
japhb Nice
18:08 reportable6 left 18:10 reportable6 joined 18:16 notna joined 18:18 jjido joined
lizmat weekly: opensource.com/article/22/2/perl-c...Y#comments 18:33
notable6 lizmat, Noted! (weekly)
18:51 djerius left 18:53 djerius joined
lizmat argh, looks like CPAN only gets updated every 4 hours or so :-( 18:56
19:45 notna left
[Coke] wonders if anyone here has a CMS they have to deal with as part of their $DAYJOB 19:53
jdv not these days, no. used to be the lead dev on one a while ago. 19:57
20:09 MasterDuke left
[Coke] ok, retried my windows issue with raku-latest; still broken. 'nmake test' was fine, so no obvious raku failures there. 20:12
will zef nuke remove everything installed? 20:13
will zef nuke remove everything installed? 20:14
20:14 vrurg_ is now known as vrurg
[Coke] or rather: how I nuke all installed modules so I can start fresh? 20:14
ah, need to specify all three? 20:15
oops. now getting: bash: /c/raku/share/perl6/site/bin/zef: No such file or directory 20:16
ah. rehashing command list now can't find zef on command line either, which is what I wanted, nevermind. :) 20:17
ugexe zef nuke site home 20:39
that will delete all installed modules fwiw
unless you have custom repos setup in e.g. RAKULIB
20:52 Darkcoal joined
[Coke] weird. zef install --deps-only . says "Searching for missing..." and then sits there. 20:55
I tried zef install File::Find, that immediately executed and installed.
(tried another, installed asap, tried deps-only again, hanging after "Searching" 20:56
20:58 MasterDuke joined
[Coke] ok, got through that... script still not working on windows, will try to golf it. 21:06
21:19 Darkcoal left 21:21 Darkcoal joined 21:48 Darkcoal left
tbrowder [Coke]: ref semicolon for comment. i knew it seemed familiar, besides in emacs lisp, also in assembler and algol 60 which was the second prog lang course i had in college (after fortran IV) 22:34
22:37 linkable6 left
perryprog ya, it's a lisp thing, hence my "why is the code commented / you forgot parens [for the S-expressions]" 22:41
22:44 jjido left 22:46 epony left
tonyo ahh snap, tbrowder it's likely from my asm days (and giving me a headache) 22:55
23:01 jjido joined 23:23 epony joined
Geth doc: ea4734ae68 | Coke++ | doc/Language/nativecall.pod6
word variant
23:43