🦋 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:30
vlad_ joined
00:34
vlad left
00:52
jpn joined
00:56
jpn left
01:24
vlad_ left
01:47
jpn joined
01:52
jpn left
02:15
derpydoo joined
02:41
hulk joined,
kylese left
02:42
bdju left
02:44
bdju joined
03:13
MasterDuke left
03:15
hulk left,
kylese joined
03:20
maylay left
03:37
maylay joined
04:08
jpn joined
04:13
jpn left
06:03
jpn joined
06:08
jpn left
06:10
jpn joined
06:15
jpn left
07:37
mtj left
07:49
mtj joined
07:53
hudo__ joined
07:54
jpn joined
07:56
hudo_ left
07:58
jpn left
08:35
patrickb left,
clarkema left,
atweedie left
08:36
atweedie joined,
clarkema joined,
patrickb joined
08:50
jpn joined
08:55
jpn left
08:57
Sgeo left
09:12
jpn joined
09:16
abraxxa joined
09:32
human-blip left,
human-blip joined
10:45
sena_kun joined,
sena_kun left
|
|||
xinming | releasable6: status | 13:21 | |
releasable6 | xinming, Next release in ≈6 days and ≈5 hours. There are no known blockers. Changelog for this release was not started yet | ||
xinming, Details: gist.github.com/ab6917faa90f16cef2...b56a063a05 | 13:22 | ||
14:19
jgaz joined
14:41
jrjsmrtn_ joined,
jrjsmrtn left
14:46
vlad joined
14:49
jo59 joined
14:56
jo59 left
14:57
Sgeo joined
15:09
jpn left
15:17
saint- joined
15:31
Sgeo left
15:34
Sgeo joined
16:20
abraxxa left
16:27
jpn joined
16:32
jpn left
|
|||
antononcube | Is there a "quick way" to classify a string as Raku expression? Of course, I can use some of the Raku grammar packages (e.g. "Perl6::Parser") or make my own classifier, but maybe something like that is already built in. | 17:01 | |
lizmat | ?try $string.EVAL | 17:05 | |
?try $string.EVAL(:check) | 17:06 | ||
actually :-) | |||
hmmmm | 17:09 | ||
m: say ?try "say 42".EVAL(:check) =:= Nil | |||
camelia | True | ||
lizmat | m: say ?try "say 42+".EVAL(:check) =:= Nil | ||
camelia | False | ||
lizmat | m: sub is-raku-expression($code) { ?try $code.EVAL(:check) =:= Nil }; say is-raku-expression "42" | 17:10 | |
camelia | True | ||
lizmat | m: sub is-raku-expression($code) { ?try $code.EVAL(:check) =:= Nil }; say is-raku-expression "42+" | ||
camelia | False | ||
lizmat | m: sub is-raku-expression($code) { ?try $code.EVAL(:check) =:= Nil }; say is-raku-expression "42+666" | ||
camelia | True | ||
lizmat | antononcube ^^ | 17:11 | |
note that this *WILL* execute any BEGIN blocks in the code | |||
implicit (e.g. "use foo") or explicit (BEGIN run "naughtycode") | 17:12 | ||
17:37
jpn joined
17:38
vlad_ joined
17:41
vlad left
|
|||
antononcube | @lizmat Thank you! (Sorry for being slow to respond...) | 18:10 | |
lizmat | you're welcome :-) | 18:27 | |
18:34
jpn left
18:52
sena_kun joined
19:16
jpn joined
19:22
jpn left
19:37
itaipu joined
19:42
vlad__ joined
19:45
vlad_ left
19:48
jpn joined
20:01
vlad__ left
20:18
jpn left
21:12
PotatoGim left
21:15
PotatoGim joined
21:29
ttyyls joined
21:54
MasterDuke joined
22:17
jgaz left
22:33
sena_kun left
22:46
MasterDuke left
23:10
kst left
23:45
kst joined
|