🦋 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:09 thaewrapt joined 01:26 perlbot left, simcop2387 left 01:27 perlbot joined 01:28 simcop2387 joined 01:38 hulk joined 01:39 kylese left 02:07 soverysour joined, soverysour left, soverysour joined 02:11 soverysour left 02:15 hulk left, kylese joined 02:57 kst left 03:04 fluca1978 left 03:28 guifa joined 03:33 beastieboo__ joined 03:36 beastieboo_ left 03:51 kst joined 04:29 jpn joined 04:34 jpn left 04:48 beanbrain left 05:30 Sgeo left 06:32 sena_kun joined 06:34 sena_kun left, jpn joined 06:58 jpn left 07:15 jpn joined 07:20 jpn left 07:22 jpn joined 07:33 beastieboo_ joined 07:34 beastieboo__ left 07:36 jpn left 07:47 jpn joined 07:51 jpn left 08:02 dakkar joined 08:08 sena_kun joined
patrickb ugexe, [Coke]: This is the straw that breaks the camels back. I'll push the refactor of termios to not use a C component to the top of my to-do list. 08:13
08:27 guifa left 08:28 guifa joined 08:32 guifa left 09:00 lizmat_ left, lizmat joined 09:29 jpn joined 09:40 thaewrapt left 09:56 thaewrapt joined 10:01 thaewrapt left 10:12 thaewrapt joined 10:17 thaewrapt left 10:20 soverysour joined 10:24 thaewrapt joined, soverysour left 10:45 perlbot left, simcop2387 left 10:49 simcop2387 joined, simcop2387 left 10:50 perlbot joined 10:54 simcop2387 joined 11:18 teatime left, teatime joined 11:33 jpn left 12:06 tirnanog joined 12:10 jpn joined 13:02 jpn left 13:09 Altai-man joined 13:13 sena_kun left, jpn joined
lizmat drops a pin 13:30
El_Che on a day most of us walk barefoot... 13:32
lizmat yeah, 25.8 in the office here :-) 13:33
13:41 ACfromTX left 13:45 Sgeo joined 14:30 beastieboo_ left 14:31 beastieboo__ joined 14:33 beastieboo_ joined 14:36 beastieboo__ left 14:53 jpn left 14:55 jpn joined 15:31 jpn left 16:12 irfan joined 16:15 irfan left 16:17 irfan joined, irfan is now known as flareon 16:18 flareon left
xinming releasable6: status 16:34
releasable6 xinming, Next release in ≈2 hours. There are no known blockers. 39 out of 42 commits logged
xinming, Details: gist.github.com/918e30e6baefa62f39...2dda873928
16:36 dakkar left
tbrowder lizmat: i think the 3-os PR is ready for you to look at. can't see the final README on my side, but it should look correct on yours. 16:38
16:51 soverysour joined, soverysour left, soverysour joined 17:16 soverysour left 17:42 soverysour joined, soverysour left, soverysour joined 18:26 soverysour left 18:30 beastieboo__ joined 18:33 beastieboo_ left 18:40 pierrot left, beastieboo_ joined 18:43 beastieboo__ left 18:45 pierrot joined 18:51 soverysour joined, soverysour left, soverysour joined 18:56 soverysour left
librasteve o/ - I made this PR github.com/Raku/doc/pull/4494 to implement Add Detecting Omitted Arguments #4494 github.com/Raku/doc/issues/4493 , since I was an active debater and new to Pod6, please can someone else review and merge 19:21
19:26 Geth joined 19:29 jpn joined 19:30 soverysour left 19:34 jpn left 19:44 soverysour joined, soverysour left, soverysour joined 19:49 soverysour left 19:52 abraxxa-home joined 20:00 jpn joined 20:01 beastieboo__ joined 20:04 beastieboo_ left 20:06 beastieboo_ joined 20:08 spacekookie joined 20:09 beastieboo__ left 20:24 spacekookie left 20:27 jpn left 20:34 spacekookie joined 20:40 abraxxa-home left
roguerakudev So I have a grammar acting more or less like a tokenizer, and the TOP rule is something like <command-name> <.ws> <token>* % <.ws> 20:47
now, one possible token is a quoted string, to allow the user to enter strings containing space
which looks like \' ~ [<!after \\> \'] $<contents>=.*? 20:49
I've tried making both regex rather than token, but no dice
I also tried making $<contents> greedier by getting rid of the ?, but also to no avail
maybe there's some special optimization going on with % that prevents this? 20:50
antononcube @roguerakudev Does your grammar work if you change the separator from white space to something else, like. comma? 21:01
roguerakudev Good call - with that the reported error is that parse wanted 2 positional but got 0... 21:04
I ran into the same issue before where input that wasn't grammatical had that reported error, which is odd
I updated to the latest rakudo after that, but I guess that didn't fix anything haha 21:05
I think that error at least is a bug, because parse doesn't even want 2 positionals, it wants one and maybe a named actions argument 21:12
Well, I suppose it's a method so maybe the invocant counts as the first 21:13
but even so, there is definitely input being passed in 21:14
antononcube @Rog It is hard for me to reason about that grammar with seeing all of it...
roguerakudev let me get a minimal reproduction togethere
in doing so I might solve my own problem
okay, so without an actions class, I can't seem to reproduce the weird error message 21:23
it's just returning (Any) now, which is still not what I'd expect, even using comma as a delimiter 21:24
hastebin.com/share/daxajucojo.xml 21:26
consider the input "string,'str ing'" 21:27
librasteve @Rog - looks like you are reinventing this wheel - docs.raku.org/language/regexes#Mod...ier:_%,_%% 21:32
antononcube I see : > We're sorry, but the contents of the bin could not be found, or it has been deleted. 21:37
roguerakudev Well shoot 21:42
pastebin.com/0KntTfrD
antononcube I see it now... 🙂 21:43
SmokeMachine guifa: usercontent.irccloud-cdn.com/file/.../image.png
tellable6 SmokeMachine, I'll pass your message to guifa
22:29 jpn joined 23:03 Altai-man left 23:46 guifa joined
SmokeMachine Hi! We were discussing about value classes here on TPRC, and I started playing with it... I'd like to know opinion about other people about it... this is just a PoC and has no tests... could some one take a look? github.com/FCO/ValueClass 23:55
^^ guifa
guifa Also can I mention how awesome it's been to meet up with the Raku folk ILR? Hopefully next conference more people can pop in 23:56
tellable6 2024-06-27T21:43:39Z #raku <SmokeMachine> guifa: usercontent.irccloud-cdn.com/file/.../image.png
SmokeMachine :)