🦋 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: ... | Logs can be inspected at colabti.org/irclogger/irclogger_log/raku Set by lizmat on 1 May 2021. |
|||
00:02
reportable6 left
00:04
reportable6 joined
00:18
kurahaupo joined
00:22
neshpion_ is now known as neshpion
00:25
brtastic left
00:26
bigdata joined
00:40
frost-lab joined
00:52
parv joined
01:06
bigdata left
01:42
kvw_5_ joined
01:45
kvw_5 left
01:55
kurahaupo left
01:57
kurahaupo joined
01:58
rindolf joined
02:08
wamba joined
02:12
kurahaupo left
02:24
wamba left
02:28
rindolf left
02:53
kurahaupo joined
02:57
kurahaupo left
03:19
kurahaupo joined
03:23
kurahaupo left
04:12
kurahaupo joined,
kurahaupo left
04:32
neshpion left
04:33
neshpion joined
05:33
shareable6 left,
unicodable6 left,
benchable6 left,
sourceable6 left,
statisfiable6 left,
nativecallable6 left,
reportable6 left,
linkable6 left,
coverable6 left,
evalable6 left,
squashable6 left,
releasable6 left,
quotable6 left,
bloatable6 left,
greppable6 left,
tellable6 left,
notable6 left,
committable6 left,
bisectable6 left,
sourceable6 joined,
nativecallable6 joined,
releasable6 joined
05:34
coverable6 joined,
tellable6 joined,
evalable6 joined,
statisfiable6 joined,
shareable6 joined,
committable6 joined
05:35
benchable6 joined,
greppable6 joined,
squashable6 joined,
notable6 joined,
linkable6 joined,
reportable6 joined
05:36
unicodable6 joined,
bloatable6 joined,
bisectable6 joined,
quotable6 joined
05:45
neshpion left
05:51
parabolize left
06:02
reportable6 left
06:03
reportable6 joined
06:27
stoned75 joined
06:30
stoned75 left
07:05
Geth left
07:06
Geth joined
07:08
asymptotically joined
07:14
Sgeo left
07:18
Sgeo joined
07:28
reach_satori left,
reach_satori joined
07:45
domidumont joined
08:12
pecastro joined
08:34
DiffieHellman left
08:35
DiffieHellman joined
09:07
Sgeo left
10:07
linkable6 left,
evalable6 left
10:09
evalable6 joined
10:10
linkable6 joined
10:22
brtastic joined
10:34
asymptotically left
10:45
wamba joined
11:39
brtastic left
11:44
mowcat left
12:02
reportable6 left
12:04
reportable6 joined
12:18
frost-lab left
12:26
frost-lab joined
12:44
frost-lab left
|
|||
kawaii | tyil: I think the IRC <-> Discord bot has been dead for some time, were you the person hosting that or was it someone else? | 13:20 | |
tyil | that was me, yes | 13:22 | |
I'll put it on my todo list to bring it back | 13:23 | ||
kawaii | Thanks! | 13:28 | |
13:32
squashable6 left
13:34
squashable6 joined
13:43
mowcat joined
13:53
aindilis` joined
13:54
aindilis left
14:13
brtastic joined,
dataangel left,
dataangel joined
14:48
simcop2387 left
14:54
simcop2387 joined
14:56
parabolize joined
15:03
brtastic left
15:14
aindilis` left
15:18
b2gills left
15:25
epony left
15:29
epony joined
15:30
ecocode[m] joined
15:59
rindolf joined
16:32
Shaeto joined
16:50
mowcat left
17:03
Sgeo joined
17:15
domidumont left
17:53
parv left
|
|||
codesections | is it possible for class A to trust class B without A and B living in the same file? | 17:58 | |
17:59
neshpion joined
18:02
reportable6 left
18:03
reportable6 joined
18:12
rindolf left
18:37
wamba left
18:49
sno joined
19:17
mowcat joined
19:31
wamba joined
19:46
brtastic joined
19:47
MasterDuke joined
20:23
Xliff joined
|
|||
Xliff | \o | 20:23 | |
Is there a way to access the grammar used to parse Raku code from Raku user code? | 20:24 | ||
codesections | m: say $*LANG.slang_grammar('MAIN'); # maybe? | 20:27 | |
camelia | Dynamic variable $*LANG not found in block <unit> at <tmp> line 1 |
||
codesections | I _think_ ^^^ gives you something when not in a REPL, but I don't really understand that aspect (yet). | 20:28 | |
it's not really documented | |||
20:57
Shaeto left
21:03
Shaeto joined
|
|||
Xliff | Huh! Lang used to work! | 21:06 | |
21:07
Shaeto left
|
|||
Xliff | Aha! Looks like it can only be seen inside an EXPORT() | 21:11 | |
Well that sucks. | 21:12 | ||
21:12
Shaeto joined
|
|||
Xliff | OK, so $*LANG is a Perl6::Grammar. Promising! | 21:13 | |
21:16
Shaeto left
21:21
Shaeto joined
|
|||
Xliff | Trying to use $*LANG.parse results in "Could not locate compile-time value for symbol Block" | 21:22 | |
And that's where I think I'm going to take a break. | |||
21:25
Shaeto left
21:30
Shaeto joined
21:34
Shaeto left
21:39
Shaeto joined
21:43
Shaeto left
21:48
Shaeto joined
21:53
Shaeto left
21:57
Shaeto joined
22:02
Shaeto left
22:03
[1]koboldwiz joined
22:06
Shaeto joined
22:11
Shaeto left
22:16
Shaeto joined
22:20
Shaeto left,
dogbert11 joined
22:21
wamba left
22:23
dogbert17 left
|
|||
Xliff | What rule in Perl6::Grammar will parse a class def? | 22:24 | |
22:25
Shaeto joined
22:27
mowcat left
22:29
Shaeto left
22:34
Shaeto joined
22:38
Shaeto left
22:43
Shaeto joined
|
|||
[Coke] | m: say 3; say 4; # if I pipe this to | head -1, it complains. how to make it stop? | 22:44 | |
camelia | 3 4 |
||
ugexe | $*OUT.out-buffer = 1; ? | 22:45 | |
raydiak | Xliff: package_declarator:sym<class> | 22:46 | |
22:47
Shaeto left
|
|||
Xliff | And that's where I think I'm going to take a break. | 22:47 | |
Um. Bad keyboard. | 22:48 | ||
radiak: How do I pass that to the grammar? | |||
when I do this: "$*LANG.parse($class-parse, rule => 'term');" | |||
Raku gives error: "No such method 'CALL-ME' for invocant of type 'Str'" | |||
Gotta go. Cat's need to be fed. | 22:49 | ||
22:52
Shaeto joined
22:56
Shaeto left
23:10
Shaeto joined
|
|||
raydiak | Xliff: sorry, I don't know very much about such things. I just read the grammar to find the rule you were looking for | 23:13 | |
23:15
Shaeto left
23:19
Shaeto joined
23:24
Shaeto left
23:29
Shaeto joined
23:33
Shaeto left
23:43
MasterDuke left
23:47
Shaeto joined
23:51
Shaeto left
23:56
Shaeto joined
|