šŸ¦‹ 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:02 reportable6 left 00:04 reportable6 joined 01:04 squashable6 left, reportable6 left, notable6 left, bisectable6 left, coverable6 left, committable6 left, unicodable6 left, evalable6 left, quotable6 left, benchable6 left, greppable6 left, releasable6 left, shareable6 left, tellable6 left, statisfiable6 left, bloatable6 left, nativecallable6 left, sourceable6 left, linkable6 left, linkable6 joined 01:05 committable6 joined, bloatable6 joined, bisectable6 joined, quotable6 joined, releasable6 joined 01:06 benchable6 joined, evalable6 joined, coverable6 joined 01:07 nativecallable6 joined 01:20 frost joined 02:01 rakuUser left 02:04 statisfiable6 joined 02:06 tellable6 joined 02:07 unicodable6 joined 02:38 archenoth left 02:47 archenoth joined 02:49 Oshawott joined 02:52 archenoth left 02:58 keutoi joined 03:04 squashable6 joined 03:06 sourceable6 joined, notable6 joined, shareable6 joined, reportable6 joined 03:46 Doc_Holliwood joined 03:58 keutoi left 04:00 keutoi joined 04:06 greppable6 joined 04:10 nebuchadnezzar left 04:56 jess left
keutoi Is syntax of NQP a subset of Raku? 05:28
Will every nqp program syntax check Ok with `rakudo -Mnqp -c` ? 05:29
moon-child hm, not sure if it is a strict subset. #raku-dev may be more helpful. But I will note that raku syntax highlighting works pretty well for nqp
keutoi Hmm, It doesnt' seem to be so. I just tried an example which complained undeclared routine `subst`. 05:37
I was trying to see if `flycheck-raku` could be modified to syntax-check `nqp` files by just adding `-Mnqp` option to the `raku -c` command invocation. 05:38
Does nqp have syntax check option?
06:02 reportable6 left 06:10 yjh joined
yjh Hello. Is this the right place to be to ask about a problem installing a module? 06:14
06:20 Doc_Holliwood left
moritz_ sure, go ahead 06:25
yjh I was trying to install Digest::SHA1::Native which uses NativeCall. It uses 06:26
constant SHA1 = %?RESOURCEDS<libraries/sha1>; 06:27
which it passes to is native ( SHA1 ) { * }
when trying to build it, I got
Cannot locate native library 'C:\Users\Public\test\raku\sha1\resources/libraries/sha1.lib': error 0xc1
when changing it to constant SHA1 = <absolute path with forward slashes here>, I was able to build it. 06:28
(on windows)
sorry, that should read %?RESOURCES<libraries/sha1>; 06:30
Please let me know if I can provide any more information or if it looks like I have something set up wrong. 06:39
06:46 nebuchadnezzar joined
moritz_ sorry, no idea about whindows; I hope somebody else has an idea soon 06:48
06:56 patrickb joined 07:04 reportable6 joined
nine yjh: sounds like a rakudo bug 07:07
07:41 frost left 08:07 Sgeo left 08:12 GreaseMonkey left 08:13 greaser|q joined 08:19 juanfra left
patrickb m: my Int \x = 2; x := 5; 08:20
camelia ( no output )
patrickb m: my \x = 2; x := 5;
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use bind operator with this left-hand side
at <tmp>:1
------> 3my \x = 2; x := 57ā5;
patrickb Hm. The binding op refuses to work when no constaint is present? 08:21
08:25 juanfra joined 08:26 lichtkind joined 08:28 holyghost joined
holyghost I've written Game::Quest v0.1.4, a Game kit for old Sierra Quest games such as King's quest, space quest. If you override Room, Player and Quest you can make them. Needs a collision system and a keyboard interface for making games out of it. 09:04
keyboard input without mouse for talking can be done by a fuzzy associative matrix 09:09
09:10 frost joined 09:36 Doc_Holliwood joined 09:54 keutoi left 10:10 mjgardner left 10:11 mjgardner joined 10:17 patterner_ left, patterner_ joined 10:28 rakuUser joined 11:16 Doc_Holliwood left
El_Che a comma question: it looks like the community plugin on the latest intellij does not have syntax highlightening. There is no registered Raku filetypes in the IDE. 11:33
11:34 Doc_Holliwood joined
El_Che intellij 2021.2.1 + comma plugin 2021.07.1 11:34
11:44 MoC joined 12:02 reportable6 left 12:05 reportable6 joined 12:14 Doc_Holliwood left 12:27 ufobat joined 12:38 Doc_Holliwood joined 12:52 xinming left 12:53 xinming joined 12:54 xinming joined
andinus yjh: it's trying to look for sha1 file under libraries directory 12:58
maybe try changing 'libraries/sha1' to 'libraries\sha1' to see if it works 12:59
13:00 Guest30 joined
andinus no idea about windows again, 13:00
13:01 Guest30 is now known as dwhk 13:03 xinming left, xinming joined
dwhk I'm looking for a raku equivalent to Module::Starter and found App::Assixt. So I tried `zef install App::Assixt` but that throws an error: "[App::Assixt] Please note that a 'META6.json' file was found in '.', of which the 'provides' section was used to determine if a dependency is available or not. Perhaps you need to add 'App::Assixt::Test' in 13:12
the <provides> section of that file? Or need to specify a directory that does *not* have a 'META6.json' file?" What do I do next? zef install worked fine for other modules.
lizmat dwhk: you probably want to have a look at App::Mi6
dwhk lizmat: thanks. that installed without problems. I will try it out. 13:14
13:20 xinming left, xinming joined 13:33 dwhk left 13:35 Doc_Holliwood left
spacekookie Is there some documentation about how to package raku programs for distribution maintainers? 13:35
Like, how to structure a package with dependencies to make sure a program can be correctly run, etc? 13:36
13:36 xinming left 13:37 xinming joined 14:08 Sgeo joined 14:13 xinming left, xinming joined 14:17 b2gills left, b2gills joined 14:27 frost left
Geth doc: 000ff6852a | (Daniel Sockwell)++ | doc/Language/regexes.pod6
Clarify where rx declarator allows adverbs

A regex declared with `rx` allows adverbs both before the delimiter (`rx:s/pattern/`) and after (`rx/:s pattern/`), but the docs only mentioned the first option. This fixes that, and brings the rx section of the page into alignment with the adverb section.
linkable6 Link: docs.raku.org/language/regexes
holyghost v0.1.5 of Game::Quest has been uploaded, it has a BAM (bi-assoc matrix) system for parsing "look at" in a row and "body" in a column then firing an action (func for now) 15:05
Then there's a LoopObject class for having in-game movies/non-keyb input game loops 15:06
or anything like that, it should just be an SDL loop
the thing is based on the SDL package 15:07
Everything is left to clean code so you can jam about your games, and as someone told me, you better write scenarios :-) 15:08
the BAM is based on a hacker's understanding of an old Sierra text interface. You type "look at room" not "I want to look at the room" 15:09
It was made on a mac 11
If you grok the raku SDL package, you're set for making old Sierra adeventure games 15:11
I've not put any examples in it
anyway, SDL events understanding should help 15:13
Game::Quest should be usable right now, I'll see what I can add later on 15:14
I'm off for the weekend, HAND
15:14 holyghost left 15:39 MoC left 15:42 jess joined
tonyo spacekookie: yes, it's in the dist META6.json docs.raku.org/language/modules 15:44
tellable6 2021-08-30T22:50:51Z #raku <tbrowder> tonyo have you seen my recent Data::Dump issue? would you consider a PR for the env var suggestion? or, better, change the api and and the default behavior (with a PR)?
tonyo .tell tbrowder a PR would be great - i like the idea of using env vars to override defaults and leaving the defaults as is 15:45
tellable6 tonyo, I'll pass your message to tbrowder
15:54 dwhk joined 16:01 dwhk left 16:03 dwhk joined 16:10 dwhk left 16:22 bdju left 16:24 bdju joined 16:47 Doc_Holliwood joined 16:59 ufobat left
lizmat weekly: news.perlfoundation.org/post/raku-...-tm-update 17:57
notable6 lizmat, Noted! (weekly)
17:59 linkable6 left, evalable6 left 18:02 reportable6 left, linkable6 joined
rba Good step for the YAS 18:05
18:25 timo left 18:27 timo joined, melezhik joined
melezhik . 18:27
I am reading this - cro.services/docs/reference/cro-we...nditionals , still not sure if I can use if else statements in cro templates 18:28
lizmat melezhik: you can not, afaik 18:34
<?foo> ... </?><!foo> ... </!>
is the closest thing I know
melezhik yeah, already applied something similar 18:39
lizmat it would be nice to have something like that, but the nature of HTML sorta makes that pretty difficult 18:40
gfldex lolibloggedalittle: gfldex.wordpress.com/2021/09/03/ca...g-by-name/ 18:48
19:01 evalable6 joined 20:01 evalable6 left, sourceable6 left, benchable6 left, coverable6 left, statisfiable6 left, shareable6 left, committable6 left, bloatable6 left, squashable6 left, nativecallable6 left, linkable6 left, tellable6 left, notable6 left, greppable6 left, bisectable6 left, unicodable6 left, quotable6 left, releasable6 left, committable6 joined, bloatable6 joined 20:02 bisectable6 joined, evalable6 joined, shareable6 joined, coverable6 joined 20:03 unicodable6 joined, notable6 joined, greppable6 joined, releasable6 joined, linkable6 joined 20:04 squashable6 joined, nativecallable6 joined
tonyo .tell tbrowder nvm, i implemented that feature. checkout Data::Dump 0.0.14 20:14
did tellable go away? 20:15
MasterDuke looks like tellable6 didn't make it back last time the bots all disconnected 20:17
AlexDaniel: ^^^
tonyo how will i ever get my messages out during my once a week survey of irc 20:24
melezhik how can I insert variable into cro template without html escaping, as is ? 20:36
20:36 tellable6 joined
AlexDaniel MasterDuke: I think it's more than just tellableā€¦ 20:37
melezhik <&HTML(.stuff)>
found the one ... looks like
20:38 unicodable6 left
MasterDuke oh yeah, benchable6 also at least 20:38
AlexDaniel most of the important ones joined, the rest will reconnect eventually anyway :) 20:39
but yes, ping me if something like that happens! Thanks!
MasterDuke thanks 20:40
melezhik Uploaded file: uploads.kiwiirc.com/files/7e20651b...rky-ui.png
rewriting Sparky from Bailador to Cro, :]
20:41 unicodable6 joined
melezhik I love cro template syntax, it's just easier to insert into html , less typing ... 20:44
21:04 reportable6 joined
melezhik looks I can't refer to hash element withing cro template conditionals? 21:06
I get template rendering error
lizmat melezhik: probably a double quote / single quote mixup 21:12
22:03 sourceable6 joined, statisfiable6 joined 22:12 lichtkind left 22:35 patrickb left 22:47 Doc_Holliwood left 23:07 Doc_Holliwood joined 23:40 benchable6 joined