»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋 Set by Zoffix on 25 July 2018. |
|||
00:12
k0Le left,
k0Le joined
00:28
Poohman left
00:36
thowe joined
00:39
aborazmeh joined,
aborazmeh left,
aborazmeh joined
00:43
nepugia left
00:44
mowcat left
00:54
Kaiepi left
00:58
Kaiepi joined
01:03
wildtrees left
01:06
aborazmeh left
01:27
dominix__ joined,
dominix__ left
01:33
hythm joined
01:34
reach_satori left,
molaf left
01:43
k0Le left
01:47
molaf joined
01:49
Black_Ribbon left
01:58
reach_satori joined
01:59
k0Le joined
|
|||
tbrowder | zostay: thanks for your blog in late august on using Build.pm. it saved me a lot of grief! we definitely need more in docs about it. | 02:08 | |
02:09
khisanth_ left
02:16
Cabanossi left
02:17
Doc_Holliwood left
02:20
Cabanossi joined
02:25
reach_satori left
02:27
khisanth_ joined
02:28
reach_satori joined
|
|||
tbrowder | .tell jmerelo i'm making progress on Documentable and its default config.json | 02:34 | |
zostay | zostay: np, glad it was useful to somebody and not just me next time I need it ;) | 02:35 | |
tbrowder | .tell jmerelo ^^^^ | ||
tellable6 | tbrowder, I'll pass your message to jmerelo | ||
02:47
p9s joined
03:12
Black_Ribbon joined
03:31
rvv joined
|
|||
rvv | p6: say 3; | 03:35 | |
camelia | 3 | 03:36 | |
03:42
rvv left
04:11
hythm left
04:25
grayrider joined
04:26
grayrider left
04:43
Cirno joined
|
|||
Cirno | Ohayo | 04:44 | |
04:44
wamba joined
04:45
reach_satori left
|
|||
Cirno | Sorry for my bad english. In Lisp, many diverse language constructs are reached through macros at the language level. I would like to know if it was done the same in perl6. | 04:46 | |
Itaipu | Cirno: I think macro are more for compiled languages, not interpreted ones, where the runtime does more magic :) | 04:49 | |
Cirno | thx | 04:55 | |
One more question. Is it possible to overload standard operators and create your own syntax based on macros? | |||
04:57
SqrtNegInf left
05:02
reach_satori joined
05:04
reach_satori left
|
|||
Cirno | say dir; # List files and folders in the current directorysay dir "/Documents"; # List files and folders in the specified directory | 05:08 | |
this is example from perl6intro doesn't work in my distro | |||
say dir "Documents"; | 05:09 | ||
But without slash work precisely | 05:10 | ||
05:11
sauvin joined
|
|||
holyghost | I've made some List classes in psp-gcc (the objective-c part), they're on Xliff's server in a moment | 05:18 | |
There's no gnustep, Foundation or libobjc's AFAIK in gcc objective-c | 05:19 | ||
IIRC there's libobjc2 | 05:20 | ||
It's always nice to have some custom list classes for lisp/scheme hackers | 05:26 | ||
I also made one in plain C, which is enormously fast | 05:37 | ||
05:39
wamba left
05:40
robertle left
05:42
reach_satori joined
05:47
reach_satori left
05:48
Cirno left,
Cirno joined
|
|||
holyghost | Later on it needs a dictionary class (e.g. a perl hash) | 05:49 | |
Or a map, hashmap in C++ STL | 05:56 | ||
06:02
domidumont joined
06:04
domidumont left,
reach_satori joined
06:09
reach_satori left,
wamba joined
06:15
dustinm` left
06:20
dustinm` joined
06:32
domidumont joined
|
|||
SmokeMachine | m: my @a = 1, 2, 3; my @b = 4, 5, 6; my @c = |@a, |@b; say @c; | 06:44 | |
camelia | [1 2 3 4 5 6] | ||
SmokeMachine | m: my @a = 1, 2, 3; my @b = 4, 5, 6; @a.push: |@b; say @a | ||
camelia | [1 2 3 4 5 6] | ||
06:45
bawse joined
|
|||
SmokeMachine | m: my @a = 1, 2, 3; my @b = 4, 5, 6; @a.append: |@b; say @a | 06:45 | |
camelia | [1 2 3 4 5 6] | ||
SmokeMachine | m: my @a = 1, 2, 3; my @b = 4, 5, 6; @a.append: @b; say @a | ||
camelia | [1 2 3 4 5 6] | ||
rba | daxim: perl6.org/compilers/features is back | 06:46 | |
daxim | thanks! | ||
holyghost | SmokeMachine : coolness | 06:49 | |
06:54
sena_kun joined
07:00
k0Le left
07:11
k0Le joined
07:27
[particle]1 joined,
[particle] left
07:35
Cirno left
07:37
dakkar joined
07:42
MilkmanDan left
07:45
MilkmanDan joined
07:49
zakharyas joined
08:03
ravenousmoose left
08:05
ravenousmoose joined
08:17
domidumont left
08:18
cgfbee left
08:19
domidumont joined
08:24
cgfbee joined
08:33
wamba left,
wamba joined
08:54
scimon joined
08:55
Doc_Holliwood joined
09:03
ravenousmoose left
09:04
ravenousmoose joined
09:25
ChoHag joined
09:44
p9s left
09:47
pat_js joined
09:57
Black_Ribbon left,
domidumont left
10:05
Doc_Holliwood left
|
|||
timotimo | rba: the features page has Panda instead of Zef at the bottom | 10:11 | |
10:15
p9s joined
10:16
sno joined
10:18
k0Le left,
albongo joined
10:20
p9s left
10:23
Guest93 left
10:32
llfourn joined
10:34
k0Le joined
10:36
k0Le left,
k0Le joined
10:38
k0Le left
10:39
k0Le joined
10:40
k0Le left
10:41
sno left
10:55
k0Le joined
10:56
sno joined
10:58
p9s joined
11:02
p9s left
11:07
Cabanossi left
11:10
Cabanossi joined
11:14
zakharyas left
11:39
pat_js left
|
|||
rba | timotimo: Replaced the footer for the features page with the one from perl6.org | 11:41 | |
12:03
domidumont joined
12:07
ravenousmoose left
12:08
ravenousmoose joined
12:09
ravenousmoose left
12:10
ravenousmoose joined
12:28
APic left
12:40
pmurias joined
|
|||
pmurias | why does $obj.foo($positiona) :named_argument work? | 12:41 | |
jnthn | adverbs | 12:43 | |
They parse as infixes then are shoved onto...whatever is close to hand and doesn't run away quick enough | |||
So presumably the method call in this case :) | 12:44 | ||
It's the same thing going on with @foo[$x]:delete or so | |||
12:44
mowcat joined
12:51
pmurias left,
pmurias joined
12:59
APic joined
13:07
Cabanossi left
13:08
zakharyas joined
13:17
kylese joined
13:19
Cabanossi joined
13:33
lucasb joined,
ravenous_ joined
13:37
|oLa| left,
ravenous_ left
13:43
ravenous_ joined
13:48
mowcat left,
ravenous_ left
|
|||
moritz | by now I wish we'd made that @foo[$x :delete] instead | 13:51 | |
13:52
abraxxa left
13:53
abraxxa joined
|
|||
timotimo | m: my @foo = 1, 2, 3; @foo[1, :delete]; say @foo | 13:55 | |
camelia | No such method 'Int' for invocant of type 'Pair' in block <unit> at <tmp> line 1 |
||
timotimo | mhm mhm | ||
masak | moritz: I'm not at all convinced I like that better | 14:09 | |
14:10
pmurias left
|
|||
moritz | maybe it should've been simply @a.delete($idx) | 14:10 | |
masak | moritz: from a macro perspective, I think Perl 5's `delete @path.to<thing>` is quite nice and clear | ||
(modulo p5's sigil variance, which is not nice and clear) | 14:11 | ||
14:17
pmurias joined,
Altreus joined
|
|||
Altreus | :\ i accidentally /quit instead of /disco | 14:17 | |
now I lost all my channels | |||
masak | Altreus: I'm throwing rocks in my glass house here, but you should have a mechanism or something for persisting your channels, man. | 14:18 | |
Altreus | I do | 14:19 | |
14:19
john_parr left
|
|||
masak | well, use it! | 14:19 | |
Altreus | It's in .weechat/irc.conf | ||
It doesn't sort of update itself | |||
:( | |||
so I have to remember that I want a channel permanently | |||
masak | there's something a little autopunny about all this | ||
14:19
john_parr joined
|
|||
masak | "this mechanism will help you remember your channels! if you remember to add them." (d'oh!) | 14:20 | |
timotimo | don't forget to /save | ||
masak | argh | ||
timotimo | i think there's something that saves the actual window layout, too | ||
Altreus | that saves the config but only the things you've /set | ||
it doesn't add your current channels as the reload-this-when-you-screw-up list | 14:21 | ||
timotimo | check /layout | ||
weechat.look.save_layout_on_exit | 14:22 | ||
14:24
wamba left
14:45
zakharyas left
14:52
kylese left
|
|||
lizmat | moritz: it *is* that, just named differently: @a.DELETE-POS($idx) | 14:56 | |
15:03
pmurias left
15:04
Doc_Holliwood joined
|
|||
Altreus | type: integer | 15:09 | |
values: none, buffers, windows, all | |||
erm | |||
holyghost | lizmat++ | 15:14 | |
I needed that | |||
15:16
ufobat__ joined
15:17
domidumont left
15:20
ufobat_ left
15:22
pat_js joined
15:27
wamba joined
15:31
[particle] joined
15:33
[particle]1 left
15:37
domidumont joined
15:50
domidumont left
16:01
zakharyas joined,
wamba left
16:03
Cirno-ne-baka joined
16:04
wamba joined
|
|||
holyghost | If you find psp-gcc, you might want to port perl6 to the R9000 processor playstation portable (psp) | 16:08 | |
16:08
domidumont joined
|
|||
holyghost | I've put thee tarballs on Xliff's server in the sony directory | 16:08 | |
16:11
scimon left
|
|||
Elronnd wants to port perl6 to ios | 16:12 | ||
16:15
domidumont left
16:17
vike left
16:20
vike joined
16:28
dakkar left
16:32
batmanaod[m] joined
16:35
mowcat joined
|
|||
batmanaod[m] | Hi! When I last looked into Perl 6, Rakudo didn't yet completely implement the "Christmas" spec; but now, the Perl 6 and Rakudo home pages don't seem to highlight any missing features, so is it safe to assume that Rakudo is generally considered complete and up-to-date, and that anything described in the Perl 6 docs should be expected to work in Rakudo? | 16:37 | |
El_Che | batmanaod[m]: I would say, expect things to work except if documented otherwise | 16:38 | |
timotimo | i'd say that's accurate | ||
16:38
ambs_ left,
ambs joined,
reach_satori joined
16:39
reach_satori left
|
|||
Altreus | well | 16:39 | |
I missed the word "except" | |||
and I thought we were being facetious | 16:40 | ||
timotimo | you mean expect? | ||
Altreus | no | ||
timotimo | or in el_che's text? | ||
Altreus | :D | ||
yeah | |||
timotimo | ah | ||
Altreus | expect things to work if documented otherwise | ||
documentation 101 | |||
timotimo | that sounds like a fun project to build | ||
a perl6 version that does as much as possible different from what is documented | |||
Altreus | $ perl6 | 16:41 | |
>>> | |||
it's a python prompt | |||
16:42
molaf left
16:43
llfourn left
|
|||
holyghost | lol, I'd thought that was a scheme48 prompt :-) | 16:43 | |
16:45
jmerelo joined
|
|||
holyghost | Hi JJ | 16:46 | |
El_Che | Perl 6: expect the unexpected | 16:50 | |
16:53
llfourn joined
17:00
patrickb joined
17:09
mowcat left
17:34
domidumont joined
17:46
zakharyas left
|
|||
jmerelo | Hi | 17:52 | |
tellable6 | 2019-09-14T14:14:01Z #perl6 <tbrowder> jmerelo i've been afk for a while. i am available most of today. | ||
2019-09-19T02:35:18Z #perl6 <tbrowder> jmerelo ^^^^ | |||
jmerelo | What's happened now? | ||
I just came back from a conference | 17:53 | ||
Also, classes have started | |||
17:57
Cirno-ne-baka left
|
|||
tbrowder | jmerelo: hi | 18:02 | |
jmerelo | Hi, Tom | ||
Just talked to antoniogamiz, he's started classes and also moved to a new apartment... without internet. | 18:03 | ||
I haven't had a lot of time to check your PRs and issues in documentable either, just came back from Vienna, and busy with the beginning of classes here | |||
tbrowder | i’m having success with an upcoming PR to improve Documentable (but consider a bit betaish, will need to discuss some things). | 18:04 | |
jmerelo | It will get better in a week or two, I expect. | ||
18:04
chloekek joined
|
|||
jmerelo | tbrowder: that's great! | 18:04 | |
Demos[m] | so I asked a while ago if I could write new representations in perl6 ... and the answer is no. I was wondering if I can do it if I'm willing to depend on moar internals | 18:18 | |
but still in perl6 instead of nqp | |||
and if I need to write it in nqp can it live anywhere or does it require explicit registration in moarvm | |||
* so I asked a while ago if I could write new representations in perl6 ... and the answer is no. I was wondering if I can do it if I'm willing to depend on moar internals | |||
but still in perl6 instead of nqp | |||
and if I need to write it in nqp can it live anywhere or does it require explicit registration in rakudo | |||
timotimo | representations are written in C, not in nqp | ||
moar allows new representations to be registered, and the extension library feature still exists, even though we want to get rid of it | 18:19 | ||
Demos[m] | are those different features? | 18:20 | |
also I take it src/6model/reps is where to look | |||
timotimo | yeah, those are the existing reprs | ||
i think src/6model/reprs.h has the function that allows a new repr to be registered | 18:21 | ||
Demos[m] | right, so is that function the "extension library" feature? | ||
timotimo | no, that is used by passing a commandline argument to "moar" | 18:24 | |
can't find it right now | 18:25 | ||
18:26
pat_js left
|
|||
timotimo | --vmlibs=dynext/libperl6_ops_moar.so=Rakudo_ops_init | 18:27 | |
it's supposed to look somewhat like this | 18:28 | ||
18:30
sauvin left
18:46
MasterDuke joined
18:57
domidumont left
19:00
jmerelo left,
Ven`` joined
19:31
rindolf left
19:35
chloekek left
19:38
mowcat joined
19:41
nightfrog joined
19:44
molaf joined
19:57
Black_Ribbon joined,
sono__ joined
19:58
sono__ left,
_jrjsmrtn joined
19:59
sono__ joined
20:00
__jrjsmrtn__ left
20:06
Black_Ribbon left
|
|||
Elronnd | does moar work on ARM? | 20:08 | |
timotimo | yes | 20:09 | |
AlexDaniel | Elronnd: yeah, but without JIT iirc | ||
timotimo | you'll just not have jit | ||
Elronnd | cool | ||
timotimo | but you will have spesh | ||
AlexDaniel | it's definitely usable just not blazing fast | ||
Elronnd | what's the speed like without jit? | ||
timotimo | which is a part of what other VMs would call jit | ||
Elronnd | what's spesh? | ||
timotimo | dynamic specializer | ||
Elronnd | ahh | ||
timotimo | compare running your program vs MVM_JIT_DISABLE=1 in the env | ||
Elronnd | that's like, if I have &sub($x), generating a specialized version of &sub that takes just Ints if I call it with Ints a lot? | 20:10 | |
20:10
pmurias joined
|
|||
timotimo | yeah | 20:10 | |
and potentially inlining &sub into the frame that calls &sub | |||
20:11
reach_satori joined
|
|||
rba | lizmat: hackaday.com/2019/09/18/whats-in-a...-the-gimp/ from reddit | 20:15 | |
weekly: hackaday.com/2019/09/18/whats-in-a...-the-gimp/ from reddit | 20:16 | ||
notable6 | rba, Noted! (weekly) | ||
SmokeMachine | Elronnd: please do it! Please port perl6 to iOS! | 20:37 | |
Elronnd | SmokeMachine: lol, working on it | 20:42 | |
ios development is a bloody *mess* | |||
you have to sign stuff | |||
SmokeMachine | After you do that, please create an app like the pythonista but for perl6, please! | 20:44 | |
Elronnd | idk if I can do that | 20:45 | |
I don't have a mac | |||
SmokeMachine | :( | 20:46 | |
Elronnd: if you port it to iOS, I’ll create the app then! | 20:47 | ||
20:50
cpan-p6 left
20:51
cpan-p6 joined,
cpan-p6 left,
cpan-p6 joined
21:08
krychu joined
21:09
reach_satori left
21:15
sena_kun left
21:16
sno left
21:35
pmurias left,
pmurias joined
21:38
reach_satori joined
21:42
reach_satori left
21:47
patrickb left
|
|||
Geth_ | doc: 3fb1211c86 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/io.pod6 add missing file remove routine "unlink" |
21:47 | |
synopsebot | Link: doc.perl6.org/language/io | ||
Elronnd | SmokeMachine: deal | 21:49 | |
Geth_ | doc: e88d5ac660 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/io.pod6 add caveats for unlinking |
21:52 | |
synopsebot | Link: doc.perl6.org/language/io | ||
22:15
Ven`` left
22:16
Ven`` joined,
Ven`` left
22:20
wamba left
|
|||
Geth_ | doc: 8fe97a469d | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/modules.pod6 add a reference to Build.pm6 for zef installation |
22:31 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
22:36
Kaiepi left,
sno joined
22:37
Kaiepi joined
22:38
Kaiepi left
22:39
Kaiepi joined
|
|||
Geth_ | doc: dd2321d4d9 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/modules.pod6 add a more specific reference |
22:49 | |
synopsebot | Link: doc.perl6.org/language/modules | ||
23:06
mowcat left
23:08
reach_satori joined
23:15
reach_satori left
23:16
krychu left
23:24
irced joined
23:28
pmurias left
23:36
Doc_Holliwood left
23:41
cjkinni joined
23:45
lucasb left
23:47
irced left
|