🦋 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:14 jpn joined 00:23 jpn left 00:49 wlhn_ left 00:50 jpn joined 00:55 jpn left
[Coke] I was looking forward to a game or two of poker! 00:58
01:15 jpn joined 01:22 jpn left 01:42 kylese left, hulk joined 01:48 jpn joined 01:53 jpn left 02:15 hulk left, kylese joined 02:23 teatime left 02:38 bdju left 02:44 jpn joined 02:46 bdju joined 02:49 jpn left 02:53 bdju left 03:02 bdju joined 03:18 jpn joined 03:23 jpn left 03:31 wlhn joined 04:18 jpn joined 04:23 jpn left 05:19 jpn joined 05:24 jpn left 06:00 jpn joined, soverysour joined, soverysour left, soverysour joined 06:05 jpn left 06:32 jpn joined 06:36 jpn left 06:53 soverysour left 07:08 jpn joined 07:13 jpn left 07:54 soverysour joined 07:58 jpn joined 08:00 soverysour left 08:19 soverysour joined 09:26 Sgeo left 09:49 jpn left 10:05 soverysour left 10:06 jpn joined 10:10 jpn left 10:29 soverysour joined 10:49 jpn joined 10:58 dpk left 11:06 dpk joined 11:08 jpn left 11:52 soverysour left 12:12 soverysour joined, soverysour left, soverysour joined 12:41 wayland76 joined 12:42 wayland left 13:04 jpn joined 13:09 jpn left 13:26 dawids joined
antononcube @tbrowder Thanks for mentioning "Markdown::Grammar"! 14:29
14:29 notna joined
I suggested it before to @librasteve , but quickly and immediately dismissed it !! 14:30
BTW, I do use Pod6 translations in "Markdown::Grammar" in order to verify / debug the parser. (I have mentioned that before.) 14:31
14:52 Maylay left 15:02 soverysour left, soverysour joined 15:04 dawids left
tbrowder antononcube: yw, that module is a vital piece for selling raku imho. 15:24
antononcube 💯 15:29
tbrowder .tell ugexe: i’m getting an error installing latest Git::Status, but i don’t see the error when i test locally. i did get the same error while i was testing the PR but i fixed it with help from git experts on IRC #git. i will submit a gist here soon. 15:32
tellable6 tbrowder, I'll pass your message to ugexe
15:43 notna left
tbrowder output of: "zef install Git::Status --debug --force-install" 15:52
<script src="gist.github.com/tbrowder/f9c2ed89b...script> 15:53
arg, forget that... 15:55
15:57 soverysour left
tbrowder gist.github.com/tbrowder/f9c2ed89b...112ba98251 15:58
line 20 shows the unexpected error 15:59
maye error in Zef::Service::TAP 16:01
*maybe
ugexe i dont think that has anything to do with zef 16:02
tellable6 hey ugexe, you have a message: gist.github.com/31d94fc182dd27bd40...8058adce43
ugexe the error says its looking for a .git directory, but the distribution .tar.gz almost certainly doesn't contain such a folder 16:03
so my guess is the test is written with bad assumptions
you could download the .tar.gz and manually run the tests and i assume it would fail similarly 16:04
if you clone the repo and test it would work, because cloning a repo is going to create the .git directory
the test should arguably be rewritten so it fails in this scenario as well 16:05
16:05 jpn joined 16:11 soverysour joined
tbrowder hm, the xt test does that. i thought the xt test is only used on the local side 16:11
not with zef install 16:12
ugexe it is not an xt test you showed
t/01-basic.rakutest 16:13
tbrowder hm...that helps, thanks
ok, i see that error was there on version 0.0.1. the is-deeply test seems to be the culprit. thanks for the info 16:23
16:26 jpn left 16:41 swaggboi left 17:16 thaewrapt left 17:34 swaggboi joined 17:40 swaggboi left 17:45 wlhn_ joined
librasteve according to the docs Markdown parser suitable for making converters of Markdown files into files of different kind of formats 17:47
17:49 wlhn left
since I would like to keep everything in MD, superficially, I have no interest for something that converts MD to POD6 17:49
[sorry for the dismissal of the idea ... I do agree that Grammar::Markdown is a vital piece for selling raku 17:50
]
and now I realise that (in theory), it would be possible to add =head md to POD6 and then have that call Grammar::Markdown to render it 17:53
antononcube @librasteve First of all, I do not mind the dismissal. Second, I suggested it because much of my work is Markdown-centric. I do use both Mathematica and Jupyter notebooks, but if I want to publish any of them I have to convert to Markdown 70% of the time. 17:59
But since after publication I edit the corresponding Markdown files a lot, I wanted to have "Markdown::Grammar" in order to "recover" the computational notebook representation. 18:01
18:01 Sgeo joined
So, "Markdown::Grammar" conversion to Mathematica was a primary goal. Conversion to Pod6, Org-mode, and HTML were secondary. 18:02
There are at least two popular programs for converting Markdown files to Jupyter notebooks.
So, conversion to Jupyter notebooks is in the TODO list of "Markdown::Grammar", but low in priority. 18:03
librasteve cool 18:04
I suppose that I would like to be able to combine putting MD in my rakumod files (via =head md) and then having Mi6 render that to README 18:06
antononcube I do see those kind of converters as a "calling card" for Raku -- it definitely and decisively demonstrates one of Raku's most unique and powerful features. So, in some sense, those kind of converters should be made "regardless." 18:07
librasteve I get that this is not generalizable - so we would need =head md in general to invoke Grammar::Markdown, and then to have a "pass thru" mode if you want to output MD in the first place 18:08
++ on the calling card!
antononcube The =head md inclusion should not be that hard to do with "Markdown::Grammar" -- it is simple text splicing. 18:10
@librasteve BTW, the package name I refere to is "Markdown::Grammar", not "Grammar::Markdown". I do not think the later exists in the "official" ecosystem. 18:11
There is "Text::Markdown", though.
"Text::Markdown" has similar -- but much narrower -- mission as "Markdown::Grammar". (I could not use "Text::Markdown" in any way in my workflows.) 18:13
librasteve oh, yes Markdown::Grammar, soz 18:16
&afk 18:17
18:22 jpn joined 18:27 jpn left 18:40 soverysour left 18:57 swaggboi joined 19:12 soverysour joined, soverysour left, soverysour joined 19:16 soverysour left 19:28 soverysour joined 19:35 soverysour left 19:58 abraxxa-home joined
tbrowder i need some advice. i need some generated code to create a module during the zef install/build process. question: does the script have to be completely independent or can it "use" code in an existing module in the repo to be installed? 20:18
20:19 abraxxa-home left 20:20 abraxxa-home joined, soverysour joined 20:25 soverysour left 20:54 soverysour joined, soverysour left, soverysour joined 20:58 soverysour left 21:11 thaewrapt joined
tbrowder never mind, the answer per @ugexe in the Build.rakumod exaample it makes provision for adding all repo paths so they CAN be used by the build script 21:26
but here is another question: is there a way to run multiple scripts from Build.rakumod? 21:33
[Coke] it's raku code, so sure. 21:53
22:03 abraxxa-home left 22:48 swaggboi left 23:12 wayland76 left 23:26 jdv left, jdv joined 23:36 swaggboi joined