🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:10 xinming_ left 00:12 xinming_ joined 00:23 pecastro left 00:27 yht joined 00:38 pilne_ joined 00:41 pilne left 00:44 pilne_ left, pilne joined 00:51 xinming_ left 00:52 xinming_ joined 01:04 vike left 01:07 yht left 01:09 yht joined 01:14 rbt left 01:15 rbt joined 01:19 Altai-man_ joined, ensamvarg_g6 joined 01:21 sena_kun left 01:24 molaf left 01:28 lucasb left, vike joined 01:37 molaf joined 02:05 Kaiepi left 02:06 Kaiepi joined, Manifest0 left, Manifest0 joined 02:15 aborazmeh left 02:25 xinming_ left, xinming_ joined 02:57 ensamvarg_g6 left 02:59 titsuki joined 03:07 xinming_ left, xinming_ joined 03:10 rbt left 03:11 rbt joined 03:20 sena_kun joined 03:21 Altai-man_ left 03:27 titsuki left 03:31 raschipi left 03:47 pilne left 04:01 titsuki joined 04:14 xinming_ left, xinming_ joined 04:30 xinming_ left 04:31 xinming_ joined 04:40 xinming_ left, xinming_ joined 05:00 xinming_ left, xinming_ joined 05:17 rbt left 05:18 rbt joined 05:19 Altai-man_ joined 05:22 sena_kun left 05:38 xinming_ left 05:39 xinming_ joined 05:45 xinming_ left 05:46 xinming_ joined 06:02 guifa2 left 06:44 stoned75 left 06:47 titsuki left, titsuki joined 07:00 stoned75 joined 07:02 andrzejku joined 07:03 ensamvarg_tdz200 joined 07:04 ensamvarg_tdz200 left, ensamvarg_tdz joined 07:11 titsuki left 07:20 sena_kun joined 07:22 Altai-man_ left 07:27 KindOne left 07:28 Sgeo joined 07:31 Sgeo_ left 07:36 xinming_ left, xinming_ joined 07:41 xinming_ left 07:43 xinming joined 08:08 sjm_uk joined, pecastro joined 08:15 xinming left, natrys joined, xinming joined
Geth doc: 7786df2309 | (JJ Merelo)++ | doc/Type/Nil.pod6
Clarifies behavior
08:19
doc: a36629850d | (JJ Merelo)++ | doc/Type/Nil.pod6
Comment on ALL-CAPS methods for Nil refs #2632
linkable6 Link: docs.raku.org/type/Nil
DOC#2632 [open]: github.com/Raku/doc/issues/2632 [Hacktoberfest][RFE][big][docs][good first issue][help wanted][new][⚠ Top Priority ⚠] Checklist for 6.d
08:21 xinming left, xinming joined 08:24 andrzejku left 08:25 titsuki joined 08:35 KindOne joined 08:36 Doc_Holliwood left 08:45 rindolf joined 08:46 KindOne left 08:47 KindOne joined 08:49 rindolf left 08:53 stoned75 left 08:55 stoned75 joined 08:56 KarlieKloss joined 08:59 KarlieKloss left 09:01 chloekek joined 09:03 stoned75 left 09:10 stoned75 joined 09:19 Altai-man_ joined 09:20 rbt left, rbt joined 09:22 sena_kun left
cpan-raku New module released to CPAN! IO::Path::XDG (0.2.0) by 03TYIL 09:25
09:32 Manifest0 left 09:34 chloekek left, rindolf joined 09:35 Manifest0 joined 10:00 Black_Ribbon left 10:10 farcas1982regreg joined 10:11 andrzejku joined 10:16 andrzejku left 10:27 Doc_Holliwood joined
El_Che releasable6: status 10:28
releasable6 El_Che, Next release will happen when it's ready. 4 blockers. 166 out of 347 commits logged (⚠ 3 warnings)
El_Che, Details: gist.github.com/4dc9829e533b00d630...5260df7917
El_Che No release is expected the coming days? 10:29
(am I not pushing for releases, just figuring out if packages need to be released) 10:30
10:42 titsuki left 10:43 titsuki joined 10:55 chloekek joined 10:59 sjm_uk left, xinming left 11:01 xinming joined 11:05 stoned75 left
chloekek p6: say v1 11:10
camelia v1
chloekek p6: sub v1 { }; say v1
camelia v1
chloekek p6: sub v1 { }; say v1()
camelia Nil
chloekek p6: say v1()
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
v1 used at line 1
lizmat m: say v1.^name 11:12
camelia Version
11:12 aborazmeh joined, aborazmeh left, aborazmeh joined 11:16 sjm_uk joined 11:20 sena_kun joined 11:22 Altai-man_ left 11:23 titsuki left 11:24 titsuki joined 11:32 mahafyi joined 11:41 pmurias joined 11:49 natrys left, natrys joined 11:57 titsuki left 12:16 yht left 12:24 pmurias left 12:25 pmurias joined
chloekek p6: say v1.raku 12:31
camelia v1.raku
chloekek p6: say (v1).raku
camelia v1
12:34 aborazmeh left 12:37 sjm_uk left
timotimo :D 12:46
that's funny
12:52 pmurias left 12:58 pmurias joined 13:11 Doc_Holliwood left 13:12 titsuki joined 13:13 oneeggeach joined 13:19 Doc_Holliwood joined, Altai-man_ joined 13:21 oneeggeach left 13:22 sena_kun left
tbrowder .ask nine when using Inline::Perl5 and a perl class object is there any way to dump its structure? i've tried 13:23
13:23 rbt left
tellable6 tbrowder, I'll pass your message to nine 13:23
13:23 aborazmeh joined, aborazmeh left, aborazmeh joined 13:24 rbt joined
tbrowder .ask nine perl Data::Dump dump as well as Raku Data::Dump. 13:24
tellable6 tbrowder, I'll pass your message to nine
13:41 xinming left 13:43 xinming joined 13:54 xinming left 13:55 xinming joined 14:02 sjm_uk joined 14:10 titsuki left 14:13 Doc_Holliwood left 14:14 stoned75 joined 14:19 aborazmeh left 14:21 mowcat joined, Doc_Holliwood joined 14:24 pmurias left 14:27 raschipi joined 14:28 stoned75 left 14:31 xinming left 14:32 xinming joined 14:49 xinming left, xinming joined 14:53 RavenLyn joined 14:56 RavenLyn left 15:00 eater left, go|dfish left, Ulti left, rjbs joined, krunen joined, avar joined, avar left, avar joined 15:01 Ulti joined, spacedbat joined, go|dfish joined 15:02 eater joined 15:05 lnx joined 15:06 dudz left, mowcat left, dudz joined, dudz left, dudz joined 15:10 molaf left 15:13 raschipi left 15:20 sena_kun joined 15:22 Altai-man_ left 15:34 mahafyi left, MasterDuke left, lembark left 15:46 xinming left 15:48 xinming joined 15:49 ribasushi joined 15:50 guifa2 joined 15:51 pmurias joined 15:53 MasterDuke joined 16:14 aborazmeh joined, aborazmeh left, aborazmeh joined 16:26 xinming left 16:27 xinming joined 16:37 pmurias left
chloekek p6: say ?'0'; say ?+'0' 16:38
camelia True
False
16:40 sjm_uk left 16:42 RagazzaMia joined 16:44 RagazzaMia left
discord6 <Snoofkin> The link on the raku.org downloads page is still broken 17:00
<Snoofkin> The "downloads" segment of the rakudo.org URL should be "dl" instead 17:01
17:08 xinming left 17:10 xinming joined 17:12 rindolf left 17:18 suman66 joined, suman66 left 17:19 Altai-man_ joined 17:22 sena_kun left 17:44 natrys left 17:56 rindolf joined
chloekek feels like writing a cobol compiler 18:03
18:03 aborazmeh left 18:08 tejr left, tejr joined
AlexDaniel chloekek: what about writing a raku compiler x) 18:09
chloekek Where’s the fun in that? 18:10
El_Che chloekek: if you have the itch, go for it 18:12
however I wonder who the audience would be
guifa2 I was thinking about that too for cobol. It's a language from the 50s, it can't be that hard too parse 18:13
El_Che: did you not see the news articles about the need for cobol programmers / maintainers? At least, it's been an issue here in the US
El_Che Haven't seen to much FOSS in Cobol and the Cobol people I know work in places where the market is cornered by Microfocus and the like
guifa2: programmers not compilers 18:14
guifa2 El_Che: fair, but it would be cool to be able to use it as a slang in Raku
El_Che could, sure
useful, I have my doubts because a lot of Cobol is run om emulated OSes mimicking Mainframes 18:15
I don't see Raku running there
(to say nothing about the real mainframes)
(I did a migration from stratus mainframe/cobol to Solaris Cobol+Java) 18:16
chloekek guifa2: Parsing is not difficult, implementing the plethora of commands and how they work with data is less trivial.
18:18 _jrjsmrtn joined, __jrjsmrtn__ left
El_Che what I remember is that the build process was painfully delicate 18:18
guifa2 chloekek: taht's what I imagined. Especially since there were major language revisions changing at times core datatypes
18:39 aborazmeh joined, aborazmeh left, aborazmeh joined 18:41 |Sno| left
chloekek Here’s an example of a COBOL compiler :) sourceforge.net/p/open-cobol/code/.../codegen.c 18:43
18:43 Sgeo_ joined, [Sno] joined 18:46 Sgeo left 18:49 Sgeo__ joined 18:50 [Sno] left 18:52 Sgeo_ left, [Sno] joined 19:07 xinming left 19:08 xinming joined
chloekek There’s a nice way to “cheat” when writing such a compiler though, which is to implement high-level routines for all the combinations of operations and data types in C, and then just let LLVM inline them. It’s easier to write C than it is to write code that generates LLVM IR. :) 19:15
19:20 sena_kun joined 19:21 AngelRush joined 19:22 Altai-man_ left 19:23 AngelRush left
Geth ecosystem: a4382cc0d3 | (David Warring)++ | META.list
renamed module sources: /p6-pdf/*-p6 -> /pdf-raku/*-raku
19:33
19:37 xinming left 19:38 xinming joined 19:43 lucasb joined 19:58 aborazmeh left 20:09 ensamvarg_tdz left 20:13 rindolf left
guifa2 Can you define a variable by a string? I know you can do ::($foo) to reference a variable but my ::($foo) doesn't work 20:14
timotimo lexical pads aren't run-time mutable 20:16
packages could do it
but of course that's not "my", that's "our"
MasterDuke istr in the past couple months someone had the same question and there was a bit of back and forth on how it might be possible. maybe something like adding to MY::? 20:17
could try searching the logs
guifa2 Hmm. It's looking like I'm going to have to do a rewrite eventually then of Binex to compile into QAST 20:18
Because otherwise I'm not really sure how I can handle variable definitions and code blocks referencing outside variables =\ 20:19
Or is there a way to run a block unencapsulated? (e.g. fully inlining its code?) 20:20
(even EVAL runs encapsulated boo) 20:22
timotimo there's the whole stuff with whatevercode and such 20:23
they don't have their own scope 20:24
20:25 pilne joined
guifa2 hmm. I think it might be easier right now for me to just say "youhave to use dynamical variables". No rush atm for accessing those I don't think 20:25
those = inline lexicals
20:32 farcas1982regreg left 20:33 Kaiepi left, Kaiepi joined
timotimo sure, that's likely good enough 20:36
20:46 mowcat joined 20:50 cpan-raku left 20:52 cpan-raku joined, cpan-raku left, cpan-raku joined
timotimo anybody want to build a clone of `concurrent` off the npm? 20:55
21:07 Kaiepi left 21:08 Kaiepi joined 21:16 chloekek left 21:19 Altai-man_ joined 21:22 sena_kun left 21:25 farcas1982regreg joined, xinming left 21:27 xinming joined 21:29 rbt left 21:30 rbt joined 21:31 farcas1982regreg left
El_Che I am looking at modules.raku.org/dist/App::Mi6:cpa...META6.json and trying to figure out where the bin/mi6 is added? nothing to see there for bin dirs 21:33
"provides" 21:34
got it :)
21:47 Kaiepi left 21:51 Kaiepi joined 21:52 xinming left 21:53 xinming joined
rbt Is there a module for writing CSV files? There seem to be several for reading them. 22:02
22:26 Sgeo_ joined 22:29 Sgeo__ left 22:30 xinming left, xinming joined 22:56 Black_Ribbon joined 22:57 aborazmeh joined, aborazmeh left, aborazmeh joined 23:03 pecastro left 23:06 Altai-man_ left 23:10 rbt left 23:11 rbt joined 23:14 xinming left 23:15 xinming joined
guifa2 rbt: does Tux's module not work? It says it's able to create CSV 23:18
rbt Oh. I see. Docs are buried in another file. 23:24
23:34 RubioTerra joined
RubioTerra Hello. I just realized "$string .= subst(...)" is dead slow on long strings. Is that expected? 23:43
I guess the problem is that the string is duplicated every time, right?
23:52 xinming left 23:53 xinming joined