🦋 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:08
JimmyZhuo joined,
skyesoss joined
00:09
wayland left,
wayland joined,
wayland left,
wayland joined,
skyesoss left
00:27
wayland left,
wayland joined
00:38
wayland left
00:39
wayland joined
00:45
jpn joined
00:49
JimmyZhuo left
00:50
jpn left
00:58
wayland left,
wayland joined
01:01
wayland left,
wayland joined
01:05
wayland left,
wayland joined,
wayland left
01:06
wayland joined
01:10
wayland left,
wayland joined
01:11
wayland left,
wayland joined
01:24
hulk joined,
kylese left
01:49
wayland left,
wayland joined
01:51
wayland left,
wayland joined
01:57
Aedil joined
02:06
wayland left,
wayland joined
02:15
hulk left,
kylese joined
02:34
wayland left
02:35
wayland76 joined
03:01
Xliff joined
|
|||
Xliff | Good evening! | 03:02 | |
tellable6 | 2025-04-09T00:25:00Z #raku <SmokeMachine> Xliff There are 2 examples of drivers on Red: github.com/FCO/Red/blob/master/lib...Pg.rakumod and github.com/FCO/Red/blob/master/lib...te.rakumod | ||
2025-04-09T00:29:08Z #raku <SmokeMachine> Xliff but basically, the main method that needs to be implemented it the `translate` one. But it’s implemented on CommonSQL driver. | |||
Xliff | .tell SmokeMachine Yes, but translate is a mouthful, given the number of nodes it has to cover. I'll see if there are any not covered by the existing alpha MySQL driver. | 03:03 | |
tellable6 | Xliff, I'll pass your message to SmokeMachine | ||
Xliff | Can someone tell me how I can list the defined classes available to a scope at run-time? | 03:04 | |
03:09
kst`` joined
03:22
Xliff left
03:34
stanrifkin_ joined
03:37
stanrifkin left
04:12
undoencalma joined
04:21
jpn joined
04:26
jpn left
04:30
kylese left,
undoencalma left
04:34
kylese joined
05:30
kylese left
05:31
kylese joined
05:40
jpn joined
05:45
jpn left
05:53
Aedil left
|
|||
wayland76 | Hi all! I have a question about Slangs. I thought it was a bit lengthy for the channel, so I've pasted it at gist.github.com/wayland/a3063994fc...389a4f47f5 | 06:56 | |
07:19
lizmat joined
07:34
lizmat left
07:52
Aedil joined
08:11
Sgeo left
08:13
derpydoo joined
08:32
lizmat joined
08:47
lizmat left
09:51
derpydoo left
10:02
tejr left
10:08
tejr joined
10:10
lichtkind joined
10:20
jargan joined
10:21
[dpk] joined,
dpk left,
jast left,
grondilu left
10:22
grondilu joined,
PipStuart left,
silug left,
PipStuart joined,
silug joined
10:28
[dpk] is now known as dpk
|
|||
tbrowder | a note on hanging procs: looking at man pages for linux 'posix_spawn' and 'wait*', a raku module should be able to handle them--an exercise for antononcube and chat gpt | 11:49 | |
whoa!! i just tried chatgpt on that subject and got a decent looking program!!! | 12:17 | ||
antononcube | @tbrowder Yes, of course. Now the "hard" question -- did you use Raku for that? | 12:21 | |
tbrowder | yes, i just got my solution. glad i'm not working, chatgpt would be a big threat! | 12:26 | |
but i guess someone has to qc its output, at least for now... | 12:27 | ||
oh, no, i misstated. i typed in the query in the chat box asking for the solution for linux using raku | 12:29 | ||
i'm going to try the responses today and see if i can solve the hangin proc. chatgpt's solution looks very similar to ugexe's but with some easier-to-grok structured code. | 12:39 | ||
if i get it working i'll gist it here. | 12:40 | ||
antononcube | Good luck! | 12:45 | |
tbrowder | thnx | ||
12:51
MasterDuke joined
12:52
jpn joined
13:06
tejr left
13:07
tejr joined
13:23
tejr left
13:31
tejr joined
13:39
MasterDuke left
14:51
MasterDuke joined
15:01
wayland joined,
wayland76 left
15:14
Guest1 joined
15:36
MasterDuke left
16:37
Aedil left
16:41
MasterDuke joined
16:53
Aedil joined
17:36
Guest1 left
19:26
Sgeo joined
19:41
simcop2387 left
19:47
simcop2387 joined
20:01
MasterDuke left
20:08
lizmat joined
20:50
lizmat left
21:16
lichtkind left
21:22
Guest79 joined
21:23
Guest79 left
|
|||
wayland | In grammars, is there a way to return an additional piece of information other than just the Match? Can I just create a new attribute on the Match object, or do I need to use augment for that? | 23:07 | |
23:25
undoencalma joined
23:26
undoencalma left
|
|||
antononcube | You can use actions. In a separate class or built-in the grammar. | 23:48 | |
23:49
bdju left
23:58
stanrifkin_ left
|