Perl 6 language and compiler development | Logs at colabti.org/irclogger/irclogger_logs/perl6-dev | For toolchain/installation stuff see #perl6-toolchain | For MoarVM see #moarvm
Set by AlexDaniel on 12 June 2018.
00:00 lizmat joined 00:05 benchable6 joined 00:56 AlexDani` joined 00:57 AlexDaniel left 01:00 AlexDani` left 01:08 AlexDani` joined 01:10 AlexDani` is now known as AlexDaniel
Geth nqp: 879f293e0b | 陈梓立++ (committed using GitHub Web editor) | t/hll/01-language.t
Enable HLL test 01-language.t
01:14
nqp: e889b29ec3 | 陈梓立++ (committed using GitHub Web editor) | t/hll/01-language.t
Merge pull request #473 from perl6/W4anD0eR96-patch-1

Enable HLL test 01-language.t
01:43 BenGoldberg joined 02:31 perlpilot left 02:43 Kaypie joined, Kaiepi left 03:13 lizmat left 03:52 Ven` joined 03:56 Ven` left
Geth nqp/truffle: ab066ae15a | (Daniel Green)++ | 3 files
[truffle] Implement nqp::lc
04:09
nqp/truffle: 65de2cf273 | (Daniel Green)++ | 3 files
[truffle] Implement nqp::uc
MasterDuke .tell pmurias i also implemented nqp::chars, but since ints can't be printed i couldn't tell if it worked. here's what i have so far (including a failed attempt to stringify them) gist.github.com/MasterDuke17/f1130...b9109c4a95 04:19
yoleaux MasterDuke: I'll pass your message to pmurias.
05:15 lizmat joined 05:20 ufobat joined 05:21 skids left 05:28 BenGoldberg left 05:34 cog joined 05:49 cog left, cog joined 05:58 Ven` joined 06:03 Ven` left 06:24 brrt joined
[Tux] Rakudo version 2018.06-31-g7865bfa6b - MoarVM version 2018.06-34-g411f73fdc
csv-ip5xs0.951 - 0.985
csv-ip5xs-207.354 - 7.665
csv-parser24.312 - 24.889
csv-test-xs-200.453 - 0.484
test8.742 - 9.234
test-t2.286 - 2.287
test-t --race0.949 - 1.046
test-t-2040.836 - 41.480
test-t-20 --race14.455 - 15.269
06:39
06:40 ilmari[m] left 06:46 ilmari[m] joined 07:07 brrt left 07:39 pmurias joined 07:51 ggoebel left 08:05 ggoebel joined 08:09 [TuxCM] left
Geth nqp: 93fdb10070 | (Elizabeth Mattijsen)++ | tools/build/MOAR_REVISION
Bump MoarVM for the latest goodies
08:34
¦ nqp: version bump brought these changes: github.com/MoarVM/MoarVM/compare/2...4-g411f73f
rakudo: 0990945dcf | (Elizabeth Mattijsen)++ | tools/build/NQP_REVISION
Bump NQP to get all the latest goodies
08:51
¦ rakudo: version bump brought these changes: github.com/perl6/nqp/compare/2018....5-g93fdb10
08:51 Ven` joined 09:04 Ven` left, Ven` joined 09:10 MasterDuke left 09:55 [TuxCM] joined 09:58 ExtraCrispy joined 11:02 Ven` left 11:03 lizmat left 11:04 brrt joined 11:25 lizmat joined 11:45 Ven` joined
Geth ¦ rakudo: lizmat self-assigned Can't assign >64bit quantity to BagHash element github.com/rakudo/rakudo/issues/1983 11:52
¦ rakudo: zoffixznet self-assigned Stacked metaops in the same statement don't get fully optimized github.com/rakudo/rakudo/issues/1981 12:07
12:35 skids joined 12:40 skids left 12:48 robertle joined 13:16 perlpilot joined 13:23 brrt left 13:33 Zoffix joined
Zoffix c: 6ae0526f,6ae0526f~1 use QAST:from<NQP>; (my $q := QAST::Stmts.new).annotate("meow", 1); say $q.dump 13:34
committable6 Zoffix, ¦6ae0526: «- QAST::Stmts ␤␤» ¦6ae0526f~1: «- QAST::Stmts :meow<?>␤␤»
Zoffix So that commit is this nqp bump: github.com/rakudo/rakudo/commit/6a...9ebfbc8a70
And looks like this commit is to blame for disappearance of annotations from the dump:
github.com/perl6/nqp/commit/707eb7...33f449dc4f 13:35
nqp: (my $q := QAST::Stmts.new).annotate("meow", 42); my %a := nqp::getattr($q, QAST::Node, q|%!annotations|); for sorted_keys(nqp::getattr($q, QAST::Node, q|%!annotations|)) -> $k { try { say(%a{$k}) } }
camelia 42
Zoffix But I can't figure out why exactly :S
oh
Now I see it :D 13:36
`my $v := %!annotations{$_};` the $_ should be $k
nm
13:36 Zoffix left 13:48 Kaypie left, Kaiepi joined
Geth nqp: 9eda6a0208 | (Zoffix Znet)++ | src/QAST/Node.nqp
Fix missing annotations in QAST dumps

Earlier commit accidentally used wrong variable for key lookup: github.com/perl6/nqp/commit/707eb7713f194aeb5
13:49
rakudo: fd779109dd | (Elizabeth Mattijsen)++ | src/core/BagHash.pm6
Sanity check for BagHash values should be HLL

Fixes R#1983
13:54
synopsebot R#1983 [open]: github.com/rakudo/rakudo/issues/1983 Can't assign >64bit quantity to BagHash element
Geth roast: 5afa359cc6 | (Elizabeth Mattijsen)++ | S02-types/baghash.t
Add test for R#1983
13:59
synopsebot R#1983 [open]: github.com/rakudo/rakudo/issues/1983 Can't assign >64bit quantity to BagHash element 14:00
14:11 robertle left 14:26 skids joined
nine Shouldn't $*ARGFILES ignore named arguments? 14:38
Geth nqp/truffle: 96c01ff90e | (Paweł Murias)++ | 16 files
[jvm] Use a @Deserializer annotation instead of having a gigantic switch in TruffleCompiler

For @Deserilizer to work we add an annotation processor which generates the switch
14:50
nqp/truffle: c7fbdaebb5 | (Paweł Murias)++ | src/vm/jvm/bin/write_a_node.nqp
[truffle] When generating boilerplate for a node do not spew out code for the switch
15:00
nqp/truffle: 1c33fd4bcf | (Paweł Murias)++ | 3 files
[truffle] Use argNode instead of aNode for nodes with one argument
nqp/truffle: 2688a4191d | (Paweł Murias)++ | src/vm/jvm/dsl/org/perl6/nqp/dsl/Processor.java
[truffle] Remove debug message from annotations processor
rakudo: 23045bc869 | (Zoffix Znet)++ | t/packages/Test/Helpers/QAST.pm6
Let QAST test helpers use smartmatching instead of `eq`

Gives more flexibility
15:06
15:19 Zoffix joined
Zoffix nine: the concept of "named arguments" really exists only inside `sub MAIN` (since e.g. depending on the setting of %*SUB-MAIN-OPTS, `42 --foo` is either two positional args or one named and one positional). And in `sub MAIN` in 6.d $*ARGFILES will be always set to $*IN 15:21
So, I can make `($a //= 42) += 10` 3.5x faster, but the catch is `my $a := 20; ($a //= 42) += 10;` starts throwing X::AdHoc "Cannot assign to an immutable value" instead of X::Assignment::RO "Cannot modify an immutable Int (42)" 15:24
Is that an acceptable change? It doesn't violate any stresstests
ZofBot: speed before err'read', amirite? 15:26
hm, actually this probably got a bug with `(@a //= 42) += 10` 15:27
Yup 15:28
zoffix@B-PEVSTRATOV-DT~/R/rakudo (master)$ perl6 -e 'my @a = 20; (@a ||= 42) += 10; dd @a'
Array @a = [11]
zoffix@B-PEVSTRATOV-DT~/R/rakudo (master)$ ./perl6 -e 'my @a = 20; (@a ||= 42) += 10; dd @a'
Cannot assign to an immutable value
\o/
tests++
nine: you can make your own $*ARGFILES with a IO::CatHandle, BTW... my $my-argfiles := IO::CatHandle.new: "some-filename", $some-IO-Handle, @*ARGS.grep: /the-things-I-want/ 15:29
Geth nqp/truffle: aa7b69f45d | (Paweł Murias)++ | 9 files
[truffle] Use @Deserialize for more nodes
15:37
nqp/truffle: e9c533aa4d | (Paweł Murias)++ | 16 files
[truffle] Rename execute methods to make it clearer the expect the native nqp types

Rename executeInteger, executeString, executeNumber to executeInt, executeStr and executeNum
nqp/truffle: 47b04cd785 | (Paweł Murias)++ | 9 files
[truffle] Add @Override annotations
nqp/truffle: 06fa88a306 | (Paweł Murias)++ | 2 files
[truffle] Added a coercion from ints to str
15:44
nqp/truffle: da28c6f610 | (Paweł Murias)++ | 2 files
[truffle] Drop the T_ hungarian notation on type constants
pmurias .tell MasterDuke I added the int to str conversion 15:45
yoleaux 04:19Z <MasterDuke> pmurias: i also implemented nqp::chars, but since ints can't be printed i couldn't tell if it worked. here's what i have so far (including a failed attempt to stringify them) gist.github.com/MasterDuke17/f1130...b9109c4a95
pmurias: I'll pass your message to MasterDuke.
pmurias .tell MasterDuke your attempt and doing the conversion didn't work is because smart_stringify expects something that returns an object 15:47
yoleaux pmurias: I'll pass your message to MasterDuke.
pmurias .tell btw thank you for contributing
yoleaux pmurias: I'll pass your message to btw.
pmurias .tell MasterDuke btw thank you for contributing
yoleaux pmurias: I'll pass your message to MasterDuke.
Geth rakudo: zoffixznet self-assigned METAOP_ASSIGN opt loses good exception for RO assignments github.com/rakudo/rakudo/issues/1987
zoffixznet self-assigned Opt opportunity in `Rop=` github.com/rakudo/rakudo/issues/1988

zoffixznet self-assigned Opt opportunity in METAOP_ASSIGN with % and @ vars github.com/rakudo/rakudo/issues/1990 b9b0838dd8 | (Zoffix Znet)++ | 3 files Opt nested meta assigns / fix meta assign bugs
Fixes R#1987 github.com/rakudo/rakudo/issues/1987 Fixes R#1989 github.com/rakudo/rakudo/issues/1989 Fixes github.com/rakudo/rakudo/issues/1981 R#1981
For opts: mark applicable METAOP constructs, so that when we ... (5 more lines)
15:49
synopsebot R#1987 [open]: github.com/rakudo/rakudo/issues/1987 [LTA][QAST] METAOP_ASSIGN opt loses good exception for RO assignments
R#1989 [open]: github.com/rakudo/rakudo/issues/1989 [QAST] Static optimizer breaks meta-assign to Array/Hashes returned from methods
synopsebot R#1981 [open]: github.com/rakudo/rakudo/issues/1981 [perf] Stacked metaops in the same statement don't get fully optimized
roast: ced372ccce | (Zoffix Znet)++ | S03-metaops/misc.t
Cover meta assign opts and bugs

Rakudo fix: github.com/rakudo/rakudo/commit/b9b0838dd8 Closes github.com/rakudo/rakudo/issues/1987 R#1987 Closes github.com/rakudo/rakudo/issues/1989 R#1989 Covers github.com/rakudo/rakudo/commit/b9b0838dd8
16:26
rakudo: 2177ee234c | (Zoffix Znet)++ | t/spectest.data
Add S03-metaops/misc.t to list of test files
16:27
16:29 Zoffix left 16:30 Ven` left 16:33 Ven` joined 16:38 Ven` left 17:21 robertle joined 17:32 brrt joined
Geth ¦ rakudo: zoffixznet self-unassigned Opt opportunity in METAOP_ASSIGN with % and @ vars github.com/rakudo/rakudo/issues/1990 17:33
¦ rakudo: zoffixznet self-unassigned Opt opportunity in `Rop=` github.com/rakudo/rakudo/issues/1988 17:37
¦ rakudo: zoffixznet self-assigned constant does not support signature literal github.com/rakudo/rakudo/issues/1301 17:43
nqp/truffle: aa42aa325c | (Paweł Murias)++ | nqp-truffle.nqp
[truffle] Correct confusion
17:54
18:01 pmurias left 18:02 pmurias joined 18:06 perlpilot left 18:39 Ven`` joined
Geth rakudo: 587cd4f9e5 | (Zoffix Znet)++ (committed using GitHub Web editor) | src/core/IO/Path.pm6
Remove commented-out .child-secure

We're not doing it any time soon and it's likely not a good'nuf idea anyway
18:59
6.d-prep: 65d5663d59 | (Zoffix Znet)++ (committed using GitHub Web editor) | TODO/postponed-for-6.e.md
Reword .child-secure 6.e work

  ... to suggest to try harder to find a better solution instead
19:01
6.d-prep: 6ef4564201 | (Zoffix Znet)++ (committed using GitHub Web editor) | TODO/postponed-for-6.e.md
Clarify what the TODO for secure path opening is about
19:03
6.d-prep: 56ba2f3810 | (Zoffix Znet)++ (committed using GitHub Web editor) | TODO/FEATURES.md
Gen a TOC for easier navigation
19:06
19:33 [TuxCM] left 20:12 brrt left 20:22 perlpilot joined 20:46 perlpilot left 20:50 [TuxCM] joined
lizmat [Tux] re test-t, is there a reason why we don't test the Pure Perl (5) version of test-t ? 20:54
21:01 SmokeMachine joined 21:02 pmurias left 21:05 pmurias joined 21:10 pmurias left 21:11 skids left 21:23 MasterDuke joined, ggoebel left 21:40 ggoebel joined 21:44 Ven`` left 21:45 Ven`` joined 21:46 robertle left 22:17 Ven`` left 22:41 dct joined 22:50 perlpilot joined 22:54 dct left 23:23 perlpilot left 23:33 BenGoldberg joined 23:39 MasterDuke left 23:55 MasterDuke joined, lizmat left