[00:00] *** Doc_Holliwould left [00:00] *** pecastro left [00:02] *** sena_kun joined [00:04] *** Altai-man_ left [00:12] *** blah69 joined [00:12] I have two questions. Is there a way to delete a variable, and is there a way to print all the variables in current scope (I'm not sure if I'm saying this correctly). [00:14] *** oddp left [00:17] <[Coke]> not like there is for hash elements, no [00:17] <[Coke]> (regarding the deletion) [00:18] You can set it to (Any), which is the value an "undefined"/unset variable has [00:19] <[Coke]> (by default) [00:19] <[Coke]> I am sure there is some UPPERCASE:: thing you can poke into for the variables in the current block. [00:19] Gotcha. Python has locals() and globals() which will return list of variables. I'm not sure if theres anything similar in raku. [00:19] m: { my ($a, $b) = 1, 2; dd MY::.kv } # you can get hold of variables like this [00:19] rakudo-moar f1960baa9: OUTPUT: «("\$b", 2, "\$a", 1, "\$*DISPATCHER", Mu, "\$_", Any).Seq␤» [00:20] 2020-06-27T23:32:11Z #raku-dev jnthn can you file a ticket about signal()? You definitely can describe it better than me. Thanks! https://colabti.org/irclogger/irclogger_log/raku-dev?date=2020-06-27#l194 [00:20] You'll see a few implicitly declared ones too [00:20] The set of symbols in a lexical scope is fixed at compile time, so there's no way to actually delete one. [00:21] <[Coke]> jnthn++ [00:22] jnthnthanks [00:22] jnthnt hanks [00:22] jnthn thanks [00:23] *** blah69 left [00:34] *** softmoth joined [00:44] *** zacts left [00:45] *** Doc_Holliwood joined [00:45] *cough* [00:53] New module released to CPAN! Math::Combinatorics (0.0.4) by 03ELCARO [00:56] *** MMitchell joined [00:57] *** MMitchell left [01:07] *** molaf left [01:13] *** samcv left [01:13] *** samcv_ joined [01:14] *** lucs left [01:14] *** lucs joined [01:16] *** zacts joined [01:19] *** MilkmanDan joined [01:19] *** molaf joined [01:38] *** bocaneri left [01:38] *** Doc_Holliwood left [01:41] *** stux|RC left [01:43] *** zacts left [01:44] *** stux|RC joined [01:51] *** bocaneri joined [02:01] *** Altai-man_ joined [02:03] *** sena_kun left [02:05] *** Manifest0 left [02:06] *** Manifest0 joined [02:49] *** reach_satori left [02:53] *** zacts joined [03:06] *** hungryd36 joined [03:18] *** zacts left [03:18] *** zacts joined [03:18] *** reach_satori joined [03:23] *** lucasb left [03:26] vrurg: hi! Why the iOS issue was closed? [03:28] *** ben17 joined [03:50] *** khoguan joined [03:55] Hello, whould you tell me how to zef install Text::CharWidth, which is in CPAN but not in p6c and zef search fails to find it. [04:02] *** sena_kun joined [04:03] *** Altai-man_ left [04:10] *** rbt left [04:10] *** rbt joined [04:19] *** camelCaser left [04:20] *** camelCaser joined [04:23] *** brtastic joined [04:28] *** khoguan left [04:32] *** zacts left [04:45] *** molaf left [04:46] *** wamba joined [05:11] *** OpenZen left [05:37] *** ben17 left [05:41] *** leah2 left [05:44] *** skids left [05:48] *** brtastic left [05:55] *** [particle] left [05:57] *** leah2 joined [06:01] *** Altai-man_ joined [06:04] *** sena_kun left [06:07] *** vike left [06:28] *** Doc_Holliwood joined [06:30] *** brtastic joined [06:36] *** wamba left [07:05] *** aborazmeh joined [07:05] *** aborazmeh left [07:05] *** aborazmeh joined [07:17] *** soursBot joined [07:23] *** rindolf joined [07:42] *** JJMerelo joined [07:46] *** bocaneri left [07:53] *** cpan-raku left [07:55] *** cpan-raku joined [07:55] *** cpan-raku left [07:55] *** cpan-raku joined [07:59] *** bocaneri joined [07:59] *** bocaneri left [07:59] *** bocaneri joined [08:02] *** sena_kun joined [08:04] *** Altai-man_ left [08:07] *** vike joined [08:07] *** andrzejku joined [08:08] *** Sgeo left [08:09] *** soursBot left [08:12] *** sno left [08:31] *** soursBot joined [08:49] *** aborazmeh left [09:00] *** samcv_ left [09:01] *** samcv joined [09:02] *** finanalyst joined [09:06] *** oddp joined [09:11] *** brtastic left [09:13] *** dolmen joined [09:14] *** JJMerelo left [09:21] *** dolmen left [09:27] *** chloekek joined [09:30] *** JJMerelo joined [09:45] SmokeMachine: I guess vrurg closed it because no one was gonna work on it anyway. Porting to such a platform won't happen because someone is seeing an issue and thinks "let's get our issue count down" but because someone is interested in doing it or simply curious and there they won't need a ticket. [09:52] *** pecastro joined [09:52] *** kensanata joined [10:01] *** Altai-man_ joined [10:04] *** sena_kun left [10:17] *** molaf joined [10:19] *** wamba joined [10:22] *** hungryd36 left [10:32] ¦ ecosystem: 284a164761 | (Jonathan Stowe)++ | META.list [10:32] ¦ ecosystem: Rename repo of GD [10:32] ¦ ecosystem: review: https://github.com/Raku/ecosystem/commit/284a164761 [10:37] *** chloekek left [10:43] *** hungrydonkey joined [10:46] *** JJMerelo left [10:47] *** Doc_Holliwood left [10:50] *** chloekek joined [10:59] *** vike left [11:01] *** wamba left [11:10] *** vike joined [11:24] *** dataangel left [11:25] *** dataangel joined [11:35] *** kensanata left [11:35] *** cpan-raku left [11:35] *** cpan-raku joined [11:35] *** raku-bridge left [11:35] *** raku-bridge joined [11:35] *** MasterDuke left [11:35] *** MasterDuke joined [11:35] *** kawaii left [11:35] *** kawaii joined [11:35] *** lizmat left [11:35] *** lizmat joined [11:35] *** samcv left [11:35] *** samcv joined [11:36] *** timotimo left [11:36] *** timotimo joined [11:44] *** AlexDaniel joined [11:44] *** AlexDaniel left [11:44] *** AlexDaniel joined [11:45] *** andrzejku left [11:48] *** bdju left [11:49] *** bdju joined [11:53] *** soursBot left [11:54] *** soursBot joined [12:02] *** sena_kun joined [12:03] *** aborazmeh joined [12:03] *** aborazmeh left [12:03] *** aborazmeh joined [12:03] *** Altai-man_ left [12:10] *** Doc_Holliwood joined [12:15] *** hungryd21 joined [12:16] *** hungrydonkey left [12:50] nine: that makes sense. [12:55] *** wamba joined [12:58] *** rbt left [12:59] *** rbt joined [13:04] *** aborazmeh left [13:35] *** molaf left [13:50] *** soursBot left [13:53] *** aborazmeh joined [13:53] *** aborazmeh left [13:53] *** aborazmeh joined [13:53] New module released to CPAN! Red (0.1.10) by 03FCO [13:53] *** titsuki joined [13:54] *** andrzejku joined [13:54] *** bocaneri left [14:01] *** Altai-man_ joined [14:02] *** OpenZen joined [14:04] *** sena_kun left [14:05] *** sno joined [14:07] *** soursBot joined [14:07] *** bocaneri joined [14:08] *** shlomif joined [14:11] *** rbt left [14:11] *** rbt joined [14:11] *** rindolf left [14:11] *** wamba left [14:26] *** shlomif is now known as rindolf [14:29] *** titsuki left [14:31] ¦ problem-solving: AlexDaniel assigned to jnthn Issue Raku needs a modern doc format that is familiar to most people https://github.com/Raku/problem-solving/issues/207 [14:31] *** aborazmeh left [14:53] ¦ problem-solving: lizmat unassigned from jnthn Issue Raku needs a modern doc format that is familiar to most people https://github.com/Raku/problem-solving/issues/207 [15:00] *** stoned75 left [15:01] *** telex left [15:03] *** telex joined [15:05] *** titsuki joined [15:09] *** Doc_Holliwood left [15:15] *** sjm_uk left [15:15] *** sjm_uk joined [15:27] *** andrzejku left [15:37] *** PavelB joined [15:45] *** __jrjsmrtn__ joined [15:47] *** patrickb joined [15:47] *** _jrjsmrtn left [15:50] *** MilkmanDan left [15:56] *** MilkmanDan joined [15:56] *** soursBot left [15:57] *** soursBot joined [16:01] *** rustemb joined [16:02] *** sena_kun joined [16:03] hello! [16:04] *** Altai-man_ left [16:04] Hi! [16:04] how are you? [16:06] All, the docs (Language/02-reading-the-docs) mention "It is planned to add a feature for C (in conjunction with C changes) to extract B Raku pod in files included with the installed distribution." I'm currently the main developer for p6^H^Hrakudoc, and would love to know if there's any discussion on this archived somewhere. [16:06] *** titsuki left [16:06] *** chloekek left [16:07] rustemb, I'm doing well, thanks! Writing you from my travel trailer in the mountains of Georgia, USA, on a beautiful afternoon. [16:08] Awesome! [16:10] <[Coke]> softmoth: do you mean https://docs.raku.org/programs/02-reading-docs ? [16:10] Oops, yes. [16:11] [Coke], generally I was looking to see if there's anything defined in distribution.meta saying "here's the docs users might care to read" [16:12] AFAIK, App::Mi6 has a setting that lets you declare which file it uses to produce README.md. I assume skaji would have used META if something were defined there. So I suspect this has been discussed but never formalized. [16:15] *** soursBot left [16:17] It's easy enough to do a heuristic like "search everything in .meta for .lines.starts-with('=head1')" which would probably be close to what users want. [16:18] *** soursBot joined [16:34] But I think that should either be formalized & documented for module authors ("All files with .extension eq any(«rakudoc rakumod '' pod6») containing at least one line that starts with '=head1' will be concatenated [in what order?] as top-level documentation for the distribution." As I write it out, it seems insufficient. It does feel like there should be a "documentation" key similar to "provides"; e.g., "documentation" [16:34] : { "zef" : ["bin/zef", "lib/Zef/CLI.rakumod" ], "Zef::CLient" : "lib/Zef/Client.rakumod" } [16:36] But probably this has been hashed out already previously, I'm just not sure where to look (an open issue on Raku/doc or something? [16:36] ) [16:38] *** JJMerelo joined [16:42] JJMerelo, Hi! Maybe you know about what I just wrote? https://colabti.org/irclogger/irclogger_log/raku?date=2020-06-28#l228 [16:43] *** kensanata joined [16:43] (RE: META6.json describing what docs are available in a distribution) [16:43] No, there's nothing that I know of [16:44] But it would be great if your rakumod could do something like that. [16:44] rakudoc, sorry [16:45] softmoth: if you're talking about things like "install the README.rakudoc of a module", then it's worth noting that pure-document files can be written as "modules" that don't actually contain code. [16:46] Just slap a "unit module MyModule::README;" (with whatever module name you like of course) in the ambient text and you're good to go. [16:47] What shimmerfairy says is correct [16:47] You don't even need to name it anything at all. Just put it in the "provides" section and it will be precompiled and installed [16:47] it would be nice if that was processed by rakudoc. I don't know if it is, to be fair. [16:48] I've rewritten rakudoc's guts pretty much, since none of that was working anyways. [16:48] softmoth++ [16:48] So it will definitely process those things once I'm through with it. [16:49] That would be great. [16:50] The closer we can get to texinfo's `info` program, the better (it's the neatest part of texinfo IMO) [16:54] ShimmerFairy, I may ask for your feedback in a little bit, if you're available for that. [16:54] (little bit: a week, maybe?0 [16:55] sure. I'm thinking of starting work on Pod again soon (probably in my old SUPERNOVA repo), so my mind's in the documentation space again. [16:58] So I came into a weird situation: in a test file, I parse a grammar using :args(,,). When I call the test file directly, (raku t/foo.t) the test passes and works fine. But when zef calls it, the arg disappears after the first time that it’s used (it’s passed along to a token) [16:59] *** melezhik joined [16:59] .tell JJMerelo NP, you can take a look at this meanwhile - https://sparrowdo.wordpress.com/2020/06/22/install-raku-modules-and-external-dependencies-using-sparrow/ [16:59] melezhik, I'll pass your message to JJMerelo [17:02] ShimmerFairy: Good. We may need a big cleanup metaproject. There's: several attempts at a Pod::TreeWalker fix for all the Pod::To::* not-implemented-here redundancy; the cry for a low-level rewrite (move Pod to NQP language braid) to remove a bunch of Pod parsing limitations and make $=pod contents much richer; the /doc split (Raku/doc #2983); rakudoc & maintaining a doc index for speedy lookups; modules.raku.org docs display [17:02] & searching; ... [17:03] melezhik I've got to turn the new book to Apress in two weeks time. [17:03] yeah, I see , NP [17:03] 2020-06-27T17:52:54Z #raku melezhik I'm swamped now (with the book and other things). Let me get back to you later. [17:03] I'm almost there, but not quite yet. So until July 15th, I'm afraid I can't do a lot of stuff... [17:03] I just shared what I've already got , at least from my point of view to the problem ... [17:03] Yeah, I'm working out writing essentially a "new" S26 at the moment; apart from some minor syntax fixups that I'd like to have, my main interest is working out the AST of a Pod document, and how you pipe that to rendered output (specifically how to avoid the combinatorial explosion of custom blocks/M<> codes and output formats) [17:04] guifa, "after the first time that it's used" makes me think this may be an issue with precompilation somehow. Is there a constant that shouldn't be baked into the pre-compiled bytecode? [17:06] softmoth: I’m not sure. I haven’t examined the precomp yet, it’s just surprising that zef would get different results. If I use —force-install, the code actually runs fine FWIW [17:07] I’m going to try this afternoon to golf it down if I can [17:08] *** chloekek joined [17:10] *** melezhik left [17:16] *** rustemb left [17:31] JJMerelo, ping? [17:32] ShimmerFairy, I'm very interested in that S26 work, if you want to bounce ideas off of someone. [17:33] *** chloekek left [17:34] softmoth: Yeah, I'll show it soon. I will say though, the main addition I'd like to make is being able to do things like =defn the meaning , since I've never liked defn's weird "the first line of text is special" behavior, and that <> attachment can be used by other blocks for other neat things. [17:34] (defn's old behavior would still be supported for backwards-compat of course) [17:38] Nice. My main itch is that code annotations float out at the top level, making them impossible to format properly. E.g., https://github.com/softmoth/perl6-pod-to-markdown/issues/18#issuecomment-611251062 [17:39] But IIRC there's a significant chunk of cool stuff in S26 that isn't implemented (or is implemented in a different way that isn't quite as cool). [17:40] I know tbrowder has worked a bunch on Tables and some other low-level stuff, but there's a limit to what can be done without fixing NQP. [17:40] Declarator blocks (those #| and #= things) have always been kind of weird (I don't consider them a kind of block declaration while existing S26 does because of this). Pod could definitely stand to be a bit more doxygen-esque for documenting declared things :) [17:40] what about NQP gets in the way of Pod, ooc? [17:42] And I actually want to add some kind of =rawtable block for LaTeX-esque raw tables (not necessarily stealing LaTeX syntax tho), for when you can't be bothered to make visually pretty tables. (They'd be easier on the parser too.) [17:42] It's been over a year since I looked at it, but I seem to recall the pod bits are extracted as just flat strings and then parsed separately, so things like pairs are not parsed the way Raku defines them, you have to use very simple pair syntax or it breaks. And other similar hacks with has dereference, etc. [17:44] My description of colonpair/fatarrow stuff limits what types of data you can use, and they have to be literal values, to avoid that icky run-code-in-documentation business. [17:45] I would like to keep Pod parsing in Rakudo as much as possible, simply because the more that's put in NQP, the more NQP objects you have to wrap up in Raku wrappers that expose all the same methods and attributes. [17:45] *** lucasb joined [17:47] *** rindolf left [17:48] sena_kun pong [17:48] ShimmerFairy, fair enough, there's probably a way to do it well outside of the main Perl6 grammar. Probably that needs to be reflected in the design doc; right now (from reading comments in the code and my impression from S26) it is viewed as a hacky shortcoming rather than a planned separation of concerns. [17:48] But very busy at the moment... [17:49] JJMerelo, oh, was hoping you are having some nice rest on Sunday. Any ideas when it'll be cool for you to re docs? [17:49] Probably late next week... [17:50] softmoth: Pod is theoretically its own grammar on the language braid, it's just not done that way in practice at the moment in rakudo. And doing work in my own repo naturally suggests a separated grammar/actions collection :) [17:50] JJMerelo, I see. Will ping you then in this case. o7 [17:52] sena_kun :-) OK [17:54] JJMerelo, just to clarify, I am not sure how busy you are, what will be really helpful is "look at a couple of drafts and write maybe 5-10 sentences of feedback", nothing more involved on this stage. If you are really busy beyond than, then hope you are doing fine. :) [17:55] I'm afraid yes. [17:55] 17 days to Apress book deadline. [17:55] I see. Good luck with your deadline! [17:55] *** rindolf joined [17:56] Thanks! [17:57] *** lichtkind joined [18:01] *** Altai-man_ joined [18:02] *** wamba joined [18:02] *** hungryd21 left [18:03] *** sena_kun left [18:18] *** soursBot left [18:25] *** soursBot joined [18:38] *** soursBot left [18:46] *** soursBot joined [18:50] *** JJMerelo left [18:52] *** lichtkind left [19:06] *** soursBot left [19:10] *** rbt left [19:11] *** rbt joined [19:12] *** soursBot joined [19:23] *** soursBot left [19:28] *** soursBot joined [19:29] *** softmoth_ joined [19:30] *** abraxxa joined [19:31] *** softmoth left [19:33] *** kensanata left [19:33] *** soursBot left [19:35] *** abraxxa left [19:36] *** abraxxa joined [19:47] *** PavelB left [20:01] *** wamba left [20:02] *** sena_kun joined [20:04] *** Altai-man_ left [20:05] *** xinming_ left [20:05] *** xinming_ joined [20:11] *** oneeggeach joined [20:26] New module released to CPAN! LibUSB (0.0.2) by 03GARLANDG [20:32] *** dolmen joined [20:34] *** molaf joined [20:36] *** softmoth_ left [20:37] *** softmoth_ joined [20:37] *** softmoth_ left [20:38] *** softmoth_ joined [20:59] *** kensanata joined [21:19] *** oneeggeach left [21:32] *** bocaneri left [21:44] *** aborazmeh joined [21:44] *** aborazmeh left [21:44] *** aborazmeh joined [21:46] *** mowcat joined [21:48] *** kensanata left [21:48] *** bocaneri joined [21:52] *** tejr left [21:58] *** tejr joined [22:01] *** Altai-man_ joined [22:04] *** sena_kun left [22:11] *** dolmen left [22:15] *** patrickb left [22:16] *** PavelB joined [22:32] *** aborazmeh left [22:37] *** rindolf left [22:54] *** pecastro left [22:58] *** mowcat left [22:58] *** mowcat joined [23:03] *** mowcat left [23:03] *** mowcat joined [23:05] *** softmoth_ left [23:16] *** aborazmeh joined [23:16] *** aborazmeh left [23:16] *** aborazmeh joined [23:16] *** finanalyst left [23:18] *** BuildTheRobots left [23:20] *** BuildTheRobots joined [23:29] *** cgfbee left [23:32] *** mithaldu_ left [23:35] *** mithaldu_ joined [23:39] *** aborazmeh left [23:40] *** hungrydonkey joined [23:41] *** aborazmeh joined [23:41] *** aborazmeh left [23:41] *** aborazmeh joined [23:43] *** cpan-raku left [23:44] *** cpan-raku joined [23:44] *** cpan-raku left [23:44] *** cpan-raku joined